编程语言
首页 > 编程语言> > python与hive集成时pip install sasl的时候可能会报错

python与hive集成时pip install sasl的时候可能会报错

作者:互联网

使用 pip install sasl-0.2.1-cp36-cp36m-win_amd64.whl 离线安装https://www.lfd.uci.edu/~gohlke/pythonlibs/#sasl

在这里插入图片描述


Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting sasl
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8e/2c/45dae93d666aea8492678499e0999269b4e55f1829b1e4de5b8204706ad9/sasl-0.2.1.tar.gz (30 kB)
Requirement already satisfied: six in g:\soft\python\py368\lib\site-packages (from sasl) (1.15.0)
Building wheels for collected packages: sasl
Building wheel for sasl (setup.py) … error
ERROR: Command errored out with exit status 1:
command: ‘g:\soft\python\py368\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘X:\Users\SwordArtOnline\AppData\Local\Temp\pip-install-5beg5i29\sasl\se
tup.py’"’"’; file=’"’"‘X:\Users\SwordArtOnline\AppData\Local\Temp\pip-install-5beg5i29\sasl\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().r
eplace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d ‘X:\Users\SwordArtOnline\AppData\Local\Temp\pip-wheel-q0pjiil3’
cwd: X:\Users\SwordArtOnline\AppData\Local\Temp\pip-install-5beg5i29\sasl
Complete output (27 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\sasl
copying sasl_init_.py -> build\lib.win-amd64-3.6\sasl
running egg_info
writing sasl.egg-info\PKG-INFO
writing dependency_links to sasl.egg-info\dependency_links.txt
writing requirements to sasl.egg-info\requires.txt
writing top-level names to sasl.egg-info\top_level.txt
reading manifest file ‘sasl.egg-info\SOURCES.txt’
reading manifest template ‘MANIFEST.in’
writing manifest file ‘sasl.egg-info\SOURCES.txt’
copying sasl\saslwrapper.cpp -> build\lib.win-amd64-3.6\sasl
copying sasl\saslwrapper.h -> build\lib.win-amd64-3.6\sasl
copying sasl\saslwrapper.pyx -> build\lib.win-amd64-3.6\sasl
running build_ext
building ‘sasl.saslwrapper’ extension
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\sasl
G:\soft\MVS2015\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Isasl -Ig:\soft\python\py368\include -Ig:\soft\python\py368\include -IG:\soft\MVS2015\VC\INCLUDE -IG:\soft
\MVS2015\VC\ATLMFC\INCLUDE “-IX:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt” “-IX:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um” “-IX:\Program Files (x86)
\Windows Kits\8.1\include\shared” “-IX:\Program Files (x86)\Windows Kits\8.1\include\um” “-IX:\Program Files (x86)\Windows Kits\8.1\include\winrt” /EHsc /Tpsasl/saslwrapper.cpp /Fobuild
\temp.win-amd64-3.6\Release\sasl/saslwrapper.obj
saslwrapper.cpp
x:\users\swordartonline\appdata\local\temp\pip-install-5beg5i29\sasl\sasl\saslwrapper.h(22): fatal error C1083: 无法打开包括文件: “sasl/sasl.h”: No such file or directory
error: command ‘G:\soft\MVS2015\VC\BIN\x86_amd64\cl.exe’ failed with exit status 2

ERROR: Failed building wheel for sasl
Running setup.py clean for sasl
Failed to build sasl
Installing collected packages: sasl
Running setup.py install for sasl … error
ERROR: Command errored out with exit status 1:
command: ‘g:\soft\python\py368\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘X:\Users\SwordArtOnline\AppData\Local\Temp\pip-install-5beg5i29\sasl\
setup.py’"’"’; file=’"’"‘X:\Users\SwordArtOnline\AppData\Local\Temp\pip-install-5beg5i29\sasl\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read()
.replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record ‘X:\Users\SwordArtOnline\AppData\Local\Temp\pip-record-d1kc6fed\install-
record.txt’ --single-version-externally-managed --compile --install-headers ‘g:\soft\python\py368\Include\sasl’
cwd: X:\Users\SwordArtOnline\AppData\Local\Temp\pip-install-5beg5i29\sasl
Complete output (27 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\sasl
copying sasl_init_.py -> build\lib.win-amd64-3.6\sasl
running egg_info
writing sasl.egg-info\PKG-INFO
writing dependency_links to sasl.egg-info\dependency_links.txt
writing requirements to sasl.egg-info\requires.txt
writing top-level names to sasl.egg-info\top_level.txt
reading manifest file ‘sasl.egg-info\SOURCES.txt’
reading manifest template ‘MANIFEST.in’
writing manifest file ‘sasl.egg-info\SOURCES.txt’
copying sasl\saslwrapper.cpp -> build\lib.win-amd64-3.6\sasl
copying sasl\saslwrapper.h -> build\lib.win-amd64-3.6\sasl
copying sasl\saslwrapper.pyx -> build\lib.win-amd64-3.6\sasl
running build_ext
building ‘sasl.saslwrapper’ extension
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\sasl
G:\soft\MVS2015\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Isasl -Ig:\soft\python\py368\include -Ig:\soft\python\py368\include -IG:\soft\MVS2015\VC\INCLUDE -IG:\so
ft\MVS2015\VC\ATLMFC\INCLUDE “-IX:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt” “-IX:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um” “-IX:\Program Files (x8
6)\Windows Kits\8.1\include\shared” “-IX:\Program Files (x86)\Windows Kits\8.1\include\um” “-IX:\Program Files (x86)\Windows Kits\8.1\include\winrt” /EHsc /Tpsasl/saslwrapper.cpp /Fobui
ld\temp.win-amd64-3.6\Release\sasl/saslwrapper.obj
saslwrapper.cpp
x:\users\swordartonline\appdata\local\temp\pip-install-5beg5i29\sasl\sasl\saslwrapper.h(22): fatal error C1083: 无法打开包括文件: “sasl/sasl.h”: No such file or directory
error: command ‘G:\soft\MVS2015\VC\BIN\x86_amd64\cl.exe’ failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: ‘g:\soft\python\py368\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘X:\Users\SwordArtOnline\AppData\Local\T
emp\pip-install-5beg5i29\sasl\setup.py’"’"’; file=’"’"‘X:\Users\SwordArtOnline\AppData\Local\Temp\pip-install-5beg5i29\sasl\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’
“’, open)(file);code=f.read().replace(’”’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record ‘X:\Users\SwordArtOnline\AppData\Local
Temp\pip-record-d1kc6fed\install-record.txt’ --single-version-externally-managed --compile --install-headers ‘g:\soft\python\py368\Include\sasl’ Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 20.3.1 is available.
You should consider upgrading via the ‘g:\soft\python\py368\python.exe -m pip install --upgrade pip’ command.

标签:amd64,python,win,hive,3.6,报错,build,install,sasl
来源: https://blog.csdn.net/JavaBigData/article/details/110729169