T
T
TechNOIR2018-02-07 13:32:30
Python
TechNOIR, 2018-02-07 13:32:30

python3+windows. How to get rid of errors when installing packages from pip?

Good afternoon.
Installed Python on Windows. Latest available installer. Default.
When I try to install a module in pip, I get this error:

pip install progressbar

Collecting progressbar
  Using cached 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\Andrw\AppData\Local\Temp\pip-build-669k16kc\progressbar\setup.py", line 5, in <module>
        import progressbar
      File "C:\Users\Andrw\AppData\Local\Temp\pip-build-669k16kc\progressbar\progressbar\__init__.py", line 59, in <module>
        from progressbar.widgets import *
      File "C:\Users\Andrw\AppData\Local\Temp\pip-build-669k16kc\progressbar\progressbar\widgets.py", line 121, in <module>
        class FileTransferSpeed(Widget):
      File "c:\users\Andrw\appdata\local\programs\python\python36-32\lib\abc.py", line 133, in __new__
        cls = super().__new__(mcls, name, bases, namespace, **kwargs)
    ValueError: 'format' in __slots__ conflicts with class variable

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Andrw\AppData\Local\Temp\pip-build-669k16kc\progressbar\

Please tell me the solution of the problem .. Has anyone come across? .. Thanks

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question