2017-11-22 7 views
1

저는 아나콘다 스파이더를 사용합니다. 파이썬 3.6 버전.아나콘다 스파이더에서 pymzml 설치 오류가 발생했습니다.

OS는 Windows 7 64bit

저는 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 

....

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' 

아나콘다 스파이더 환경에서 pymzml을 설치하는 방법

답변

1

(여기 스파이더 테이너) 질문에 대해 주목해야 할 두 가지 중요한 일이 있습니다

  1. Microsoft V가 없으므로 명령이 실패합니다. 실제 Studio 2013 컴파일러가 시스템에 설치되어 있어야합니다. 이 컴파일러가 없으면이 패키지를 설치할 수 없습니다.
  2. 우리의 IPython 콘솔은 파이썬 코드 또는 !foo 구문 명령과 함께 매우 간단한 외부 명령을 실행하기위한 콘솔입니다. 패키지 설치와 같은 더 복잡한 작업을 수행하려면 실제 터미널 (예 : cmd.exe)을 사용해야합니다.
관련 문제