Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud

Pip not working

Alice2
Beginner
216 Views

Hello,

I was trying to install seaborn (using pip install --user seaborn) to use the heat maps and I got the following error:

AttributeError: '_NamespacePath' object has no attribute 'sort'

And now anytime I type "pip" (just pip, no other options) in the command line I get the same error. I don't know how to fix this, please help as I need to use new packages. 

Thanks

0 Kudos
1 Solution
Alice2
Beginner
210 Views

I found a solution: 

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py 
pip install --upgrade setuptools

 

View solution in original post

2 Replies
Alice2
Beginner
211 Views

I found a solution: 

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py 
pip install --upgrade setuptools

 

AthiraM_Intel
Moderator
198 Views

Hi,


Glad to know that your issue is resolved. We won't be monitoring this thread anymore. Kindly raise a new thread if you need further assistance.


Thanks.


Reply