【发布时间】:2016-05-28 08:19:40
【问题描述】:
您好,我在 Windows 10 上进行了 anconda 3 的全新安装。但是当我从 shell 运行一些 pip 的安装命令时,例如“pip install pysam”,我收到了错误消息:
building 'pysam.libchtslib' extension
error: Unable to find vcvarsall.bat
----------------------------------------
Command "C:\Users\rando\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\rando\\AppData\\Local\\Temp\\pip-build-dqrfhm5k\\pysam\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\rando\AppData\Local\Temp\pip-b5ng0_7u-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\rando\AppData\Local\Temp\pip-build-dqrfhm5k\pysam\
我看到了很多关于这个的帖子,我知道这可能是一个视觉 c++ 问题。我重新安装了它,还安装了 Microsoft Visual C++ Compiler for Python,但情况没有改变。 我能做些什么?感谢您的帮助!
【问题讨论】:
标签: c++ python-3.x installation pip