首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装pyfftw windows失败

安装pyfftw windows失败
EN

Stack Overflow用户
提问于 2017-01-05 17:32:10
回答 0查看 1.2K关注 0票数 0

我在Windows上使用python 2.7 Anaconda。当我尝试使用以下命令在Windows上安装pyfttw时:

代码语言:javascript
复制
pip install pyfttw

我收到以下错误消息(来自pip.log):

代码语言:javascript
复制
C:\Users\***\AppData\Local\Continuum\Anaconda\Scripts\gcc.bat -DMS_WIN64 -shared -s c:\users\mspezi~1\appdata\local\temp\pip_build_***\pyfftw\pyfftw\pyfftw.o c:\users\mspezi~1\appdata\local\temp\pip_build_***\pyfftw\pyfftw\pyfftw.def -Lc:\users\mspezi~1\appdata\local\temp\pip_build_***\pyfftw\pyfftw -LC:\Users\***\AppData\Local\Continuum\Anaconda\libs -LC:\Users\***\AppData\Local\Continuum\Anaconda\PCbuild\amd64 -llibfftw3-3 -llibfftw3f-3 -llibfftw3l-3 -lpython27 -lmsvcr90 -o build\lib.win-amd64-2.7\pyfftw\pyfftw.pyd

c:/users/***/appdata/local/continuum/anaconda/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibfftw3-3

c:/users/***/appdata/local/continuum/anaconda/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibfftw3f-3

c:/users/***/appdata/local/continuum/anaconda/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibfftw3l-3

collect2.exe: error: ld returned 1 exit status

error: command 'C:\\Users\\***\\AppData\\Local\\Continuum\\Anaconda\\Scripts\\gcc.bat' failed with exit status 1

----------------------------------------
Cleaning up...
  Removing temporary dir c:\users\mspezi~1\appdata\local\temp\pip_build_***...
Command C:\Users\***\AppData\Local\Continuum\Anaconda\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\mspezi~1\\appdata\\local\\temp\\pip_build_***\\pyfftw\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\mspezi~1\appdata\local\temp\pip-2_l7sg-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\mspezi~1\appdata\local\temp\pip_build_***\pyfftw
Exception information:
Traceback (most recent call last):
  File "C:\Users\***\AppData\Local\Continuum\Anaconda\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Users\***\AppData\Local\Continuum\Anaconda\lib\site-packages\pip\commands\install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "C:\Users\***\AppData\Local\Continuum\Anaconda\lib\site-packages\pip\req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "C:\Users\***\AppData\Local\Continuum\Anaconda\lib\site-packages\pip\req.py", line 706, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "C:\Users\***\AppData\Local\Continuum\Anaconda\lib\site-packages\pip\util.py", line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command C:\Users\***\AppData\Local\Continuum\Anaconda\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\mspezi~1\\appdata\\local\\temp\\pip_build_***\\pyfftw\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\mspezi~1\appdata\local\temp\pip-2_l7sg-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\mspezi~1\appdata\local\temp\pip_build_***\pyfftw

你有什么提示吗?

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41481406

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档