[英]Python spectrum package installation
我正在嘗試在python中進行一些頻譜分析,並且在使用簡易安裝來安裝頻譜軟件包時遇到了麻煩。 我收到以下錯誤?
有人有類似的麻煩嗎?
C:\Windows\system32>easy_install spectrum
Searching for spectrum
Reading http://pypi.python.org/simple/spectrum/
Best match: spectrum 0.5.6
Downloading https://pypi.python.org/packages/source/s/spectrum/spectrum-0.5.6.tar.gz#md5=dee181b34c41f2990b4281ba4998a639
Processing spectrum-0.5.6.tar.gz
Writing c:\users\jmcneill\appdata\local\temp\easy_install-_5or57\spectrum-0.5.6\setup.cfg
Running spectrum-0.5.6\setup.py -q bdist_egg --dist-dir c:\users\jmcneill\appdata\local\temp\easy_install-_5or57\spectru
m-0.5.6\egg-dist-tmp-op3lmq
Cannot export initmydpss: symbol not defined
collect2.exe: error: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1
是的,這里也是。
查找軟件包的臨時安裝目錄(C:\\ Users ... \\ AppData \\ Local \\ Temp),然后僅在mydpss.c
文件中添加:
initmydpss(void) { }
我知道這不是很干凈,但是可以。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.