Problem importing module - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Problem importing module (/thread-11772.html) |
Problem importing module - PierreSoulier - Jul-25-2018 Hello, I want to use the progressbar module. It is not installed in my library so i've tried: sudo pip3 install progressbar But i get this error in return: Traceback (most recent call last): File "/usr/bin/pip3", line 9, in <module> from pip import main ImportError: cannot import name 'main'Do you have any idea from where this could come from? Thank you RE: Problem importing module - buran - Jul-25-2018 try pip3 install progressbar2 as per the docs/project description https://pypi.org/project/progressbar2/also, if you are working CLI scripts, check click - very handy to create nice CLI interface and it comes batteries included - own progress bar functionality, among many other useful things some examples in this thread by snippsat RE: Problem importing module - PierreSoulier - Jul-25-2018 I have the same error again :/ . I will take a look at click thank you ! RE: Problem importing module - buran - Jul-25-2018 (Jul-25-2018, 08:27 AM)PierreSoulier Wrote: I have the same error again :/ .check https://github.com/pypa/pip/issues/5599 |