w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Unable to import installed packages in python after updating OSX and python

Somehow, many of my packages in /usr/local/lib/python2.7/site-packages/ had root ownership. This was causing a host of issues :/

sudo pip uninstall XXX

followed by

pip install XXX

Resolved most of the issues.

Let the lesson be learnt that one should never 'sudo pip install' anything.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.