Using Ubuntu 14.04.5 LTS. Tried to install 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 a django application now, so I guess a lot of stuff is messed up.
Anyone have any idea of what could have went wrong or how to fix?