1
我試圖用pip安裝dpkt軟件包(Python 3.5.2):錯誤:「要建立一個Debian軟件包,你必須安裝stdb(pip install std eb)」當安裝dpkt(Python 3.5.2)
pip install dpkt
安裝失敗給這個錯誤:
Collecting dpkt
Using cached dpkt-1.8.8.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ic21328\AppData\Local\Temp\pip-build-e0wstmu2\dpkt\setup.py
", line 26
print 'To build a Debian Package you must install stdeb (pip install std
eb)'
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ic21328\
AppData\Local\Temp\pip-build-e0wstmu2\dpkt\
我已經成功地安裝使用了PIP封裝stdeb,但同樣的錯誤仍然出現。 如何安裝dpkt?