Get “EnvironmentError: [Errno 13] Permission denied” error when trying to pip install any packageHow to upgrade pip to latest?installing ecdsaProblem with installing a python moduleI can't open software updater and unity tweak tool on Ubuntu14.04Python error “version OPENSSL_1.0.0 not defined in file libcrypto.so.1.0.0…” when trying to run command in PHP scrip (LAMPP)pip install gives “Command ”python setup.py egg_info“ failed with error code 1”Problem while installing pip for python 3.5 in ubuntu 16.04
What's the difference between jpg and JPG on mac?
Mostly One Way Travel : Says Grandpa
Why do right-wing parties generally oppose the legalization of marijuana?
What does the word "warmth" mean here?
Why isn't current carried through a vacuum?
Ball hits curve of same curvature
What's the best way to keep cover of a pan slightly opened?
Does a British citizen need a passport to fly to various "British" territories?
Can I weaken a coil spring consisting of spring steel?
What does 36.000€ mean?
Do insurance rates depend on credit scores?
What's that in front of the overhead panel?
A novel (or maybe a whole series) where a weird disease infects men and machines
How do oases form in the middle of the desert?
Can a creature of any alignment attune to this magic weapon in Curse of Strahd?
Brake disc and pads corrosion, do they need replacement?
What happens differently when ISS is inside this red boundary (Russia & Europe & ...)?
Why do Russian names transliterated into English have unpronounceable 'k's before 'h's (e.g. 'Mikhail' instead of just 'Mihail')?
Is this medieval picture of hanging 5 royals showing an historical event?
Is concept of entropy really indispensable? Especially when the concept of potential energy can serve the purpose?
Is gaining 1 AC in exchange for disadvantage on Perception checks a balanced trade?
What should I do about a new employee who didn't mention their second job or planned leave?
Is the decimation process time invariant?
What is the difference between scissors and shears?
Get “EnvironmentError: [Errno 13] Permission denied” error when trying to pip install any package
How to upgrade pip to latest?installing ecdsaProblem with installing a python moduleI can't open software updater and unity tweak tool on Ubuntu14.04Python error “version OPENSSL_1.0.0 not defined in file libcrypto.so.1.0.0…” when trying to run command in PHP scrip (LAMPP)pip install gives “Command ”python setup.py egg_info“ failed with error code 1”Problem while installing pip for python 3.5 in ubuntu 16.04
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
When I try to pip install any package I'm getting this error:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:
'/usr/local/lib/python2.7/dist-packages/numpy'
Consider using the `--user` option or check the permissions.
When I try to sudo pip install anything I'm getting the following error.
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
farzand@farzand-linux:~$
package-management permissions python pip
add a comment
|
When I try to pip install any package I'm getting this error:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:
'/usr/local/lib/python2.7/dist-packages/numpy'
Consider using the `--user` option or check the permissions.
When I try to sudo pip install anything I'm getting the following error.
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
farzand@farzand-linux:~$
package-management permissions python pip
add a comment
|
When I try to pip install any package I'm getting this error:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:
'/usr/local/lib/python2.7/dist-packages/numpy'
Consider using the `--user` option or check the permissions.
When I try to sudo pip install anything I'm getting the following error.
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
farzand@farzand-linux:~$
package-management permissions python pip
When I try to pip install any package I'm getting this error:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:
'/usr/local/lib/python2.7/dist-packages/numpy'
Consider using the `--user` option or check the permissions.
When I try to sudo pip install anything I'm getting the following error.
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
farzand@farzand-linux:~$
package-management permissions python pip
package-management permissions python pip
edited Sep 30 at 5:51
karel
71.6k15 gold badges160 silver badges186 bronze badges
71.6k15 gold badges160 silver badges186 bronze badges
asked Sep 28 at 12:42
farzandfarzand
154 bronze badges
154 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
There are two different pip packages in Ubuntu 18.04: python-pip (for Python 2.x) and python3-pip (for Python 3.x). To install packages that are compatible with the default Python version in 18.04 you need to install python3-pip.
sudo apt install python3-pip
You can also install numpy with either:
sudo apt install python3-numpy # for Python 3.x
or
sudo apt install python-numpy # for Python 2.x
Note the python- and python3- convention for prefacing package names of Python 2.x and Python 3.x packages in the default Ubuntu repositories.
How to upgrade pip to latest version?
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177280%2fget-environmenterror-errno-13-permission-denied-error-when-trying-to-pip-in%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are two different pip packages in Ubuntu 18.04: python-pip (for Python 2.x) and python3-pip (for Python 3.x). To install packages that are compatible with the default Python version in 18.04 you need to install python3-pip.
sudo apt install python3-pip
You can also install numpy with either:
sudo apt install python3-numpy # for Python 3.x
or
sudo apt install python-numpy # for Python 2.x
Note the python- and python3- convention for prefacing package names of Python 2.x and Python 3.x packages in the default Ubuntu repositories.
How to upgrade pip to latest version?
add a comment
|
There are two different pip packages in Ubuntu 18.04: python-pip (for Python 2.x) and python3-pip (for Python 3.x). To install packages that are compatible with the default Python version in 18.04 you need to install python3-pip.
sudo apt install python3-pip
You can also install numpy with either:
sudo apt install python3-numpy # for Python 3.x
or
sudo apt install python-numpy # for Python 2.x
Note the python- and python3- convention for prefacing package names of Python 2.x and Python 3.x packages in the default Ubuntu repositories.
How to upgrade pip to latest version?
add a comment
|
There are two different pip packages in Ubuntu 18.04: python-pip (for Python 2.x) and python3-pip (for Python 3.x). To install packages that are compatible with the default Python version in 18.04 you need to install python3-pip.
sudo apt install python3-pip
You can also install numpy with either:
sudo apt install python3-numpy # for Python 3.x
or
sudo apt install python-numpy # for Python 2.x
Note the python- and python3- convention for prefacing package names of Python 2.x and Python 3.x packages in the default Ubuntu repositories.
How to upgrade pip to latest version?
There are two different pip packages in Ubuntu 18.04: python-pip (for Python 2.x) and python3-pip (for Python 3.x). To install packages that are compatible with the default Python version in 18.04 you need to install python3-pip.
sudo apt install python3-pip
You can also install numpy with either:
sudo apt install python3-numpy # for Python 3.x
or
sudo apt install python-numpy # for Python 2.x
Note the python- and python3- convention for prefacing package names of Python 2.x and Python 3.x packages in the default Ubuntu repositories.
How to upgrade pip to latest version?
answered Sep 28 at 14:22
karelkarel
71.6k15 gold badges160 silver badges186 bronze badges
71.6k15 gold badges160 silver badges186 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177280%2fget-environmenterror-errno-13-permission-denied-error-when-trying-to-pip-in%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown