Pip Anaconda Spyder中的pymzml安装错误
我用水蟒Spyder。Python 3.6版本 操作系统是64位的Windows 7 我在IPython控制台上写的Pip Anaconda Spyder中的pymzml安装错误,pip,installation,anaconda,spyder,Pip,Installation,Anaconda,Spyder,我用水蟒Spyder。Python 3.6版本 操作系统是64位的Windows 7 我在IPython控制台上写的 !pip install pymzml 然后我得到了这个错误信息 Collecting pymzml Using cached pymzml-2.0.0.zip Building wheels for collected packages: pymzml Running setup.py bdist_wheel for pymzml: started Running
!pip install pymzml
然后我得到了这个错误信息
Collecting pymzml
Using cached pymzml-2.0.0.zip
Building wheels for collected packages: pymzml
Running setup.py bdist_wheel for pymzml: started
Running setup.py bdist_wheel for pymzml: finished with status 'error'
Complete output from command C:\ProgramData\Anaconda3\python.exe -u -c
"import setuptools,
tokenize;__file__='C:\\Users\\user\\AppData\\Local\\Temp\\pip-build-8r_4srar\\pymzml\\setup.py';f=getattr(tokenize, 'open', open)
(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code,
__file__, 'exec'))" bdist_wheel -d
C:\Users\user\AppData\Local\Temp\tmpb89hzuklpip-wheel- --python-tag cp36:
[ pymzML ] Warning: no plotly installed ...
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\pymzml
copying pymzml\decoder.py -> build\lib.win-amd64-3.6\pymzml
copying pymzml\file_interface.py -> build\lib.win-amd64-3.6\pymzml
copying pymzml\ms_numpress.py -> build\lib.win-amd64-3.6\pymzml
如何在Anaconda Spyder环境中安装pymzml(此处为Spyder maintainer)关于您的问题,有两件重要的事情需要注意:
运行非常简单的外部命令!foo
语法。对于更复杂的任务(如安装软件包),您需要使用真正的终端(即在您的情况下使用cmd.exe
) running build_ext
cythoning C:\Users\user\AppData\Local\Temp\pip-build-8r_4srar\pymzml\Numpress\PyNumpress.pyx to C:\Users\user\AppData\Local\Temp\pip-build-8r_4srar\pymzml\Numpress\PyNumpress.cpp
building 'PyNumpress' extension
error: [WinError 3] The system cannot find the path specified.: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'