建筑车轮失败-Pyblake2

时间:2018-11-07 01:57:06

标签: python visual-studio module

在安装适用于Python 2.7的Pyblake2模块时遇到问题

尝试使用Visual Studio可执行文件运行命令时出现错误。我曾出现过类似的错误,并且该错误已通过安装Visual Studio数据工具进行了修复,但此修复程序不适用于此处。

enter image description here

错误日志

Failed building wheel for pyblake2
  Running setup.py clean for pyblake2
Failed to build pyblake2
Installing collected packages: pyblake2
  Running setup.py install for pyblake2 ... error
    Complete output from command "c:\users\command center\appdata\local\programs\python\python37\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\COMMAN~1\\AppData\\Local\\Temp\\pip-install-kpxsk2m7\\pyblake2\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\COMMAN~1\AppData\Local\Temp\pip-record-4cd5_od1\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    building 'pyblake2' extension
    creating build
    creating build\temp.win-amd64-3.7
    creating build\temp.win-amd64-3.7\Release
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DBLAKE2_COMPRESS_AUTO=1 "-Ic:\users\command center\appdata\local\programs\python\python37\include" "-Ic:\users\command center\appdata\local\programs\python\python37\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\winrt" /Tcpyblake2module.c /Fobuild\temp.win-amd64-3.7\Release\pyblake2module.obj
    pyblake2module.c
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\stdint.h(44): error C2632: '__int64' followed by 'long' is illegal
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\stdint.h(44): warning C4091: 'typedef ': ignored on left of '__int64' when no variable is declared
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\stdint.h(45): warning C4114: same type qualifier used more than once
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\stdint.h(45): error C2632: '__int64' followed by 'long' is illegal
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\stdint.h(45): warning C4091: 'typedef ': ignored on left of 'unsigned __int64' when no variable is declared
    pyblake2module.c(651): warning C4244: '=': conversion from 'Py_ssize_t' to 'uint8_t', possible loss of data
    pyblake2module.c(661): warning C4244: '=': conversion from 'Py_ssize_t' to 'uint8_t', possible loss of data
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

    ----------------------------------------
Command ""c:\users\command center\appdata\local\programs\python\python37\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\COMMAN~1\\AppData\\Local\\Temp\\pip-install-kpxsk2m7\\pyblake2\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\COMMAN~1\AppData\Local\Temp\pip-record-4cd5_od1\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\COMMAN~1\AppData\Local\Temp\pip-install-kpxsk2m7\pyblake2\

在此方面的任何帮助将不胜感激。

0 个答案:

没有答案
相关问题