Windows 7 x64、Python 3.4上的PIP安装错误。-vcvarsall.bat错误,然后是ValueError:[';path';]然后是更多错误
对韦斯和哈德利的羽毛计划非常兴奋 在Windows 7 x64计算机上安装时出现问题。具体来说,当我Windows 7 x64、Python 3.4上的PIP安装错误。-vcvarsall.bat错误,然后是ValueError:[';path';]然后是更多错误,python,c++,windows-7-x64,Python,C++,Windows 7 X64,对韦斯和哈德利的羽毛计划非常兴奋 在Windows 7 x64计算机上安装时出现问题。具体来说,当我 pip install feather-format 我得到了以下错误,并且 feather 未安装: Added C:\Anaconda3 and C:\Anaconda3\Scripts to PATH. C:\Anaconda3>pip install feather-format Collecting feather-format Downloading feather-
pip install feather-format
我得到了以下错误,并且
feather
未安装:
Added C:\Anaconda3 and C:\Anaconda3\Scripts to PATH.
C:\Anaconda3>pip install feather-format
Collecting feather-format
Downloading feather-format-0.1.2.tar.gz (99kB)
100% |################################| 102kB 1.1MB/s
Requirement already satisfied (use --upgrade to upgrade): cython>=0.21 in c:\anaconda3\lib\site-packages (from feather-f
ormat)
Building wheels for collected packages: feather-format
Running setup.py bdist_wheel for feather-format ... error
Complete output from command C:\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\SMD1\\App
Data\\Local\\Temp\\pip-build-za6ja3rs\\feather-format\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).
read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d C:\Users\SMD1\AppData\Local\Temp\tmpuhmkfhmypip-wheel-
--python-tag cp34:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.4
creating build\lib.win-amd64-3.4\feather
copying feather\api.py -> build\lib.win-amd64-3.4\feather
copying feather\compat.py -> build\lib.win-amd64-3.4\feather
copying feather\version.py -> build\lib.win-amd64-3.4\feather
copying feather\__init__.py -> build\lib.win-amd64-3.4\feather
creating build\lib.win-amd64-3.4\feather\tests
copying feather\tests\test_reader.py -> build\lib.win-amd64-3.4\feather\tests
copying feather\tests\__init__.py -> build\lib.win-amd64-3.4\feather\tests
copying feather\libfeather.pxd -> build\lib.win-amd64-3.4\feather
copying feather\ext.pyx -> build\lib.win-amd64-3.4\feather
running build_ext
building 'feather.ext' extension
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
----------------------------------------
Failed building wheel for feather-format
Running setup.py clean for feather-format
Failed to build feather-format
Installing collected packages: feather-format
Running setup.py install for feather-format ... error
Complete output from command C:\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\SMD1\\A
ppData\\Local\\Temp\\pip-build-za6ja3rs\\feather-format\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__
).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\SMD1\AppData\Local\Temp\pip-6h_eg1f9-recor
d\install-record.txt --single-version-externally-managed --compile:
Compiling feather/ext.pyx because it changed.
Cythonizing feather/ext.pyx
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.4
creating build\lib.win-amd64-3.4\feather
copying feather\api.py -> build\lib.win-amd64-3.4\feather
copying feather\compat.py -> build\lib.win-amd64-3.4\feather
copying feather\version.py -> build\lib.win-amd64-3.4\feather
copying feather\__init__.py -> build\lib.win-amd64-3.4\feather
creating build\lib.win-amd64-3.4\feather\tests
copying feather\tests\test_reader.py -> build\lib.win-amd64-3.4\feather\tests
copying feather\tests\__init__.py -> build\lib.win-amd64-3.4\feather\tests
copying feather\libfeather.pxd -> build\lib.win-amd64-3.4\feather
copying feather\ext.pyx -> build\lib.win-amd64-3.4\feather
running build_ext
building 'feather.ext' extension
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
----------------------------------------
Command "C:\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\SMD1\\AppData\\Local\\Temp\\pip
-build-za6ja3rs\\feather-format\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record C:\Users\SMD1\AppData\Local\Temp\pip-6h_eg1f9-record\install-record.txt --s
ingle-version-externally-managed --compile" failed with error code 1 in C:\Users\SMD1\AppData\Local\Temp\pip-build-za6ja
3rs\feather-format\
You are using pip version 8.1.0, however version 8.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
<> P>看来违法者是微软Visual C++,不需要找到VCVALSALAL.BAT。我看了一下,微软Visual C++ 2010 V.100.40219以及V.8,9, 12都安装了。我还搜索了vcvarsall.bat,但它不在我的硬盘上
任何帮助都会很好。我真的可以使用feather的功能 请看这个:@ivan_pozdeev。建议的重复解决方案不起作用。它也不是完全重复的。我得到的和正在引用的错误与引用答案中的问题明显不同(尽管可能相关)。我确实尝试过,没有任何改变,甚至在重新安装MV C++ 10之后,在尝试接受的解决方案之后也有同样的错误。如果你没有注意到,那里有很多答案,所有不同的,不同程度的可靠性和适用性。这些都是我测试过的作品。@ivan_pozdeev。我注意到了。两者都涉及c++2008和setup.py而非pip引起的问题。我的问题特别是指C++ 2010和PIP。也就是说,我尝试了很多与2010年和pip相关的回答,但没有任何效果。我使用的是x64 Windows 7和Python3.4。请查看“MSSDK for Python3”,这是谷歌的第一个。