[英]Python Kivy library installation on Ubuntu OS got dependency errors
[英]Python ssh 1.8.0 library installation errors
嘗試在Windows 7上使用Python 3.3安裝Python SSH 1.8.0庫時出現編譯錯誤。我很驚訝收到語法錯誤通知。
C:\Users\egargio\Downloads\ssh-1.8.0\ssh-1.8.0>C:\Python33\python setup.py insta
ll
running install
running build
running build_py
running install_lib
byte-compiling C:\Python33\Lib\site-packages\ssh\auth_handler.py to auth_handler
.cpython-33.pyc
File "C:\Python33\Lib\site-packages\ssh\auth_handler.py", line 311
except SSHException, e:
^
SyntaxError: invalid syntax
byte-compiling C:\Python33\Lib\site-packages\ssh\channel.py to channel.cpython-3
3.pyc
File "C:\Python33\Lib\site-packages\ssh\channel.py", line 610
except PipeTimeout, e:
^
SyntaxError: invalid syntax
byte-compiling C:\Python33\Lib\site-packages\ssh\message.py to message.cpython-3
3.pyc
File "C:\Python33\Lib\site-packages\ssh\message.py", line 279
if i > 0xffffffffL:
^
SyntaxError: invalid syntax
byte-compiling C:\Python33\Lib\site-packages\ssh\packet.py to packet.cpython-33.
pyc
File "C:\Python33\Lib\site-packages\ssh\packet.py", line 96
self.__sequence_number_out = 0L
^
SyntaxError: invalid syntax
byte-compiling C:\Python33\Lib\site-packages\ssh\pkey.py to pkey.cpython-33.pyc
File "C:\Python33\Lib\site-packages\ssh\pkey.py", line 307
except base64.binascii.Error, e:
^
SyntaxError: invalid syntax
running install_egg_info
Removing C:\Python33\Lib\site-packages\ssh-1.8.0-py3.3.egg-info
Writing C:\Python33\Lib\site-packages\ssh-1.8.0-py3.3.egg-info
請提出任何建議? 謝謝。
該庫尚未移植到Python3。您可能能夠找到具有或使用Python 2.7的庫。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.