Python频谱包安装

时间:2014-04-01 18:04:22

标签: python spectrum

我正在尝试在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

1 个答案:

答案 0 :(得分:0)

这里也一样。

查看软件包的临时安装目录(C:\ Users ... \ AppData \ Local \ Temp)并简单地添加到mydpss.c文件中:

initmydpss(void) { }

我知道这不是很干净但是有效。