100% noob here. Second day using Linux.
Using Ubuntu 16.04. When executing
sudo pip install numexpr
I got the message as follows:
The directory '/home/ark/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/ark/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: numexpr in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: numpy>=1.6 in /usr/lib/python2.7/dist-packages (from numexpr)
It appears to me though the package is not correctly installed.
/home/ark/.cacheand/home/ark/.cache.pipit should belong to you. – George Udosen Jan 14 '17 at 15:06root, as the$HOMEenvironment variable is set to/home/arkinstead of/rootusing sudo.sudo su -; pip install numexpr. – Thomas Jan 14 '17 at 15:16