I need help with installing numpy to Ubuntu 16.04. after:
$ pip3 install numpy
come up always:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/numpy'
What to do? How can i install numpy?
I need help with installing numpy to Ubuntu 16.04. after:
$ pip3 install numpy
come up always:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/numpy'
What to do? How can i install numpy?
See, when you install any software using pip, it defaults to the path: "/usr/local/lib/python3.5/dist-packages/numpy" for installing that software.
Only the root user has access to this area of control (better security) and so, you'll need to the keyword sudo before such commands to enable that software (in this case, pip) to perform it's operations with a root user access level.
So, your command will now become:
sudo pip3 install numpy
I have also installed numpy library easily using install pip on ubuntu. you should enter the following command:
sudo pip3 install numpy