我得到這個錯誤:安裝進度Python包
E:\opensource_codes\semi-auto-anno\src>pip install progressbar
Collecting progressbar
Downloading progressbar-2.3.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\mona6\AppData\Local\Temp\pip-build-0_37al8d\progressbar\setup.py", line 5, in <module>
import progressbar
File "C:\Users\mona6\AppData\Local\Temp\pip-build-0_37al8d\progressbar\progressbar\__init__.py", line 59, in <module>
from progressbar.widgets import *
File "C:\Users\mona6\AppData\Local\Temp\pip-build-0_37al8d\progressbar\progressbar\widgets.py", line 121, in <module>
class FileTransferSpeed(Widget):
File "C:\ProgramData\Anaconda3\lib\abc.py", line 133, in __new__
cls = super().__new__(mcls, name, bases, namespace)
ValueError: 'format' in __slots__ conflicts with class variable
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\mona6\AppData\Local\Temp\pip-build-0_37al8d\progressbar\
,我有:
E:\opensource_codes\semi-auto-anno\src>python
Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
我應該怎麼安裝進度爲Python 3.6.0?在 '格式' \:
的[PIP安裝可能重複的失敗,」 ValueError異常_ \ _ slots \ _ \ _與類變量「衝突」](https://stackoverflow.com/questions/33063427/pip-install-fails-with-valueerror-format-in-slots-conflicts-with-class-v) – JacobIRR