Pip Anaconda Spyder中的pymzml安装错误

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

我用水蟒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 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)关于您的问题,有两件重要的事情需要注意:

  • 您的命令失败,因为您的系统中没有安装Microsoft Visual Studio 2013编译器。如果没有此编译器,将无法安装此软件包
  • 我们的IPython控制台旨在运行Python代码,或者使用
    运行非常简单的外部命令!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'