安裝pyhs2報錯,裝不上,新增裝sasl依賴也不行
我的python在window平臺,hive在伺服器上,現在想用python操作hive資料,在Windows平臺安裝pyhs2,就是裝不上,怎麼弄?
>pip install pyhs2
Requirement already satisfied: pyhs2 in d:\program files\python\lib\site-packages\pyhs2-0.6.0-py2.7.eggCollecting sasl (from pyhs2)
Using cached sasl-0.2.1.tar.gz
Requirement already satisfied: thrift in d:\program files\python\lib\site-packages (from pyhs2)
Requirement already satisfied: six in d:\program files\python\lib\site-packages (from sasl->pyhs2)
Building wheels for collected packages: sasl
Running setup.py bdist_wheel for sasl ... error
Complete output from command "D:\Program Files\PYTHON\python.exe" -u -c "import setuptools, tokenize;__file__='c:\\users\\41590\\appdata\\local\\temp\\pip-build-8t7ha6\\sasl\\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\41590\appdata\local\temp\tmpseioknpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\sasl
copying sasl\__init__.py -> build\lib.win-amd64-2.7\sasl
running egg_info
writing requirements to sasl.egg-info\requires.txt
writing sasl.egg-info\PKG-INFO
writing top-level names to sasl.egg-info\top_level.txt
writing dependency_links to sasl.egg-info\dependency_links.txt
warning: manifest_maker: standard file '-c' not found
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-2.7\sasl
copying sasl\saslwrapper.h -> build\lib.win-amd64-2.7\sasl
copying sasl\saslwrapper.pyx -> build\lib.win-amd64-2.7\sasl
running build_ext
building 'sasl.saslwrapper' extension
creating build\temp.win-amd64-2.7
creating build\temp.win-amd64-2.7\Release
creating build\temp.win-amd64-2.7\Release\sasl
C:\Users\41590\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Isasl "-ID:\Program Files\PYTHON\include" "-ID:\Program Files\PYTHON\PC" /Tpsasl/saslwrapper.cpp /Fobuild\temp.win-amd64-2.7\Release\sasl/saslwrapper.obj
saslwrapper.cpp
sasl/saslwrapper.cpp(247) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
error: command 'C:\\Users\\41590\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
----------------------------------------
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
Complete output from command "D:\Program Files\PYTHON\python.exe" -u -c "import setuptools, tokenize;__file__='c:\\users\\41590\\appdata\\local\\temp\\pip-build-8t7ha6\\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 c:\users\41590\appdata\local\temp\pip-9izhfr-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\sasl
copying sasl\__init__.py -> build\lib.win-amd64-2.7\sasl
running egg_info
writing requirements to sasl.egg-info\requires.txt
writing sasl.egg-info\PKG-INFO
writing top-level names to sasl.egg-info\top_level.txt
writing dependency_links to sasl.egg-info\dependency_links.txt
warning: manifest_maker: standard file '-c' not found
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-2.7\sasl
copying sasl\saslwrapper.h -> build\lib.win-amd64-2.7\sasl
copying sasl\saslwrapper.pyx -> build\lib.win-amd64-2.7\sasl
running build_ext
building 'sasl.saslwrapper' extension
creating build\temp.win-amd64-2.7
creating build\temp.win-amd64-2.7\Release
creating build\temp.win-amd64-2.7\Release\sasl
C:\Users\41590\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Isasl "-ID:\Program Files\PYTHON\include" "-ID:\Program Files\PYTHON\PC" /Tpsasl/saslwrapper.cpp /Fobuild\temp.win-amd64-2.7\Release\sasl/saslwrapper.obj
saslwrapper.cpp
sasl/saslwrapper.cpp(247) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
error: command 'C:\\Users\\41590\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
----------------------------------------
Command ""D:\Program Files\PYTHON\python.exe" -u -c "import setuptools, tokenize;__file__='c:\\users\\41590\\appdata\\local\\temp\\pip-build-8t7ha6\\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 c:\users\41590\appdata\local\temp\pip-9izhfr-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\41590\appdata\local\temp\pip-build-8t7ha6\sasl\
相關文章
- vue安裝babel依賴報錯VueBabel
- vscode使用npm安裝依賴報錯VSCodeNPM
- kratos安裝及依賴安裝
- Hue安裝依賴
- python安裝依賴Python
- SQL Prompt安裝不上(報錯:1603)SQL
- ubuntu解決軟體安裝依賴錯誤Ubuntu
- Vue安裝依賴報錯:checking for Python executable "python" in the PATHVuePython
- rubymine debug需要安裝依賴
- xtrabackup_2.4.9安裝依賴包
- mysql安裝依賴perl(Data::Dumper)MySql
- npm 安裝、刪除依賴命令NPM
- python 安裝依賴c++PythonC++
- Linux上安裝Nginx依賴環境和庫、Nginx安裝,Nginx服務命令LinuxNginx
- npm 或 yarn安裝依賴報錯 EPERM: operation not permitted, unlink 解決方法NPMYarnMIT
- 【python】【安裝包依賴關係】Python
- vue踩坑記-在專案中安裝依賴模組npm install報錯VueNPM
- ubuntu下安裝nginx時依賴庫zlib,pcre,openssl安裝方法UbuntuNginx
- 安裝ionic 報錯 安裝canvas報錯 解決辦法Canvas
- python 離線依賴包打包&安裝Python
- python離線安裝外部依賴包Python
- nginx安裝報錯Nginx
- 安裝VUE報錯Vue
- Vue專案在安裝依賴時報錯:“this[kHandle] = new _Hash(algorithm, xofLen);“VueGo
- memcached安裝及開啟SASL驗證
- RoboWare Studio安裝及依賴項解決
- PHP依賴管理工具Composer安裝PHP
- 『手撕Vue-CLI』自動安裝依賴Vue
- jivejdon安裝部署報錯 類路徑不對?
- 轉載:yarn安裝依賴時報錯certificate has expired at TLSSocket.onConnectSecureYarnTLS
- Ubuntu16.04不用管理員許可權安裝caffe依賴(上)Ubuntu
- snipMate安裝後報錯
- 安裝heapster報錯
- 安裝ElasticSearch-6.2.3所遇到的安裝報錯Elasticsearch
- CentOS6安裝dovecot並提供sasl功能CentOS
- Linux下安裝DB2的包依賴LinuxDB2
- 函式計算安裝依賴庫方法小結函式
- 使用yum快速安裝oracle11g依賴包Oracle