嘗試安裝:Python的多安裝:命令 「蟒蛇setup.py egg_info」 失敗,錯誤代碼1
pip install multiprocessing
得到一個錯誤:
Collecting multiprocessing
Using cached multiprocessing-2.6.2.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/7s/sswmssj51p73hky4mkqs4_zc0000gn/T/pip-build-8c0dk6ai/multiprocessing/setup.py", line 94
print 'Macros:'
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/7s/sswmssj51p73hky4mkqs4_zc0000gn/T/pip-build-8c0dk6ai/multiprocessing/
任何人都知道解決這個問題的方法是什麼?
我遇到同樣的問題。顯然問題是[multiprocessing軟件包只適用於python 2.x](https://pypi.python.org/pypi/multiprocessing/2.6.2.1)。我認爲唯一的解決方案是下載源代碼並修復它 –