繁体   English   中英

Python Spectrum软件包安装

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM