Using Ubuntu 14.04.5 LTS. I tried installing line_profiler with sudo pip3 install line_profiler , and now when I run sudo pip3 , I get the following output:
Traceback (most recent call last): File "/usr/bin/pip3", line 5, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 72, in <module> import packaging.requirements File "/usr/local/lib/python3.4/dist-packages/packaging/requirements.py", line 59, in <module> MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker") TypeError: __call__() missing 1 required positional argument: 'name'
Get a similar error when I try to run the django application, so I think a lot of things went wrong.
Does anyone have an idea of ββwhat could go wrong or how to fix it?
python linux pip
user43704
source share