broken pip on a machine with no sudo permission The Next CEO of Stack OverflowTrouble with pip on 14.04pip .local/lib “Permission denied”Upgrade python packages with pip: use “sudo” or “--user”?virtualenvwrapper creates envs in ~/.virtualenvs? (with questionmark) -> leads to issuesGiving software sudo permissionPython - pip pip2 pip3 pip3.5 packages are installed but cannot be imported in any Python session“sudo pip” differs from normal “pip”Is `sudo pip install` still a broken practice?pip won't run without sudowhat's the difference between sudo -H pip install and sudo pip install
Man transported from Alternate World into ours by a Neutrino Detector
Can I calculate next year's exemptions based on this year's refund/amount owed?
Is there such a thing as a proper verb, like a proper noun?
Reference request: Grassmannian and Plucker coordinates in type B, C, D
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Where do students learn to solve polynomial equations these days?
Does Germany produce more waste than the US?
IC has pull-down resistors on SMBus lines?
What would be the main consequences for a country leaving the WTO?
Lucky Feat: How can "more than one creature spend a luck point to influence the outcome of a roll"?
Calculate the Mean mean of two numbers
Is it OK to decorate a log book cover?
From jafe to El-Guest
vector calculus integration identity problem
What steps are necessary to read a Modern SSD in Medieval Europe?
Strange use of "whether ... than ..." in official text
Physiological effects of huge anime eyes
What was Carter Burke's job for "the company" in Aliens?
Could a dragon use its wings to swim?
free fall ellipse or parabola?
What CSS properties can the br tag have?
Is there a reasonable and studied concept of reduction between regular languages?
Can Sneak Attack be used when hitting with an improvised weapon?
Scary film where a woman has vaginal teeth
broken pip on a machine with no sudo permission
The Next CEO of Stack OverflowTrouble with pip on 14.04pip .local/lib “Permission denied”Upgrade python packages with pip: use “sudo” or “--user”?virtualenvwrapper creates envs in ~/.virtualenvs? (with questionmark) -> leads to issuesGiving software sudo permissionPython - pip pip2 pip3 pip3.5 packages are installed but cannot be imported in any Python session“sudo pip” differs from normal “pip”Is `sudo pip install` still a broken practice?pip won't run without sudowhat's the difference between sudo -H pip install and sudo pip install
I found that for some unknown reason pip was broken on my account on a server on which I don't have sudo permission. So, I went ahead and installed pip as seen here:
wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user
--2019-03-31 23:24:23-- https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io... 151.101.184.175, 2a04:4e42:2c::175
Connecting to bootstrap.pypa.io|151.101.184.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1699325 (1.6M) [text/x-python]
Saving to: `get-pip.py'
100%[=========================================================================================>] 1,699,325 7.20M/s in 0.2s
2019-03-31 23:24:24 (7.20 MB/s) - `get-pip.py' saved [1699325/1699325]
Collecting pip
Using cached https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.
3-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.0.3
Uninstalling pip-19.0.3:
Successfully uninstalled pip-19.0.3
Successfully installed pip-19.0.3
Now that I've been told that it is successfully installed, I issued the following command at the terminal
pip install -U jupyter
Traceback (most recent call last):
File "/opt/aci/sw/python/3.6.3_anaconda-5.0.1/bin/pip", line 7, in <module>
from pip import main
ImportError: cannot import name 'main
From what I see, it appears that old pip is still being invoked and not the newly installed pip, how can I get this to work?
permissions sudo pip
add a comment |
I found that for some unknown reason pip was broken on my account on a server on which I don't have sudo permission. So, I went ahead and installed pip as seen here:
wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user
--2019-03-31 23:24:23-- https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io... 151.101.184.175, 2a04:4e42:2c::175
Connecting to bootstrap.pypa.io|151.101.184.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1699325 (1.6M) [text/x-python]
Saving to: `get-pip.py'
100%[=========================================================================================>] 1,699,325 7.20M/s in 0.2s
2019-03-31 23:24:24 (7.20 MB/s) - `get-pip.py' saved [1699325/1699325]
Collecting pip
Using cached https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.
3-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.0.3
Uninstalling pip-19.0.3:
Successfully uninstalled pip-19.0.3
Successfully installed pip-19.0.3
Now that I've been told that it is successfully installed, I issued the following command at the terminal
pip install -U jupyter
Traceback (most recent call last):
File "/opt/aci/sw/python/3.6.3_anaconda-5.0.1/bin/pip", line 7, in <module>
from pip import main
ImportError: cannot import name 'main
From what I see, it appears that old pip is still being invoked and not the newly installed pip, how can I get this to work?
permissions sudo pip
add a comment |
I found that for some unknown reason pip was broken on my account on a server on which I don't have sudo permission. So, I went ahead and installed pip as seen here:
wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user
--2019-03-31 23:24:23-- https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io... 151.101.184.175, 2a04:4e42:2c::175
Connecting to bootstrap.pypa.io|151.101.184.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1699325 (1.6M) [text/x-python]
Saving to: `get-pip.py'
100%[=========================================================================================>] 1,699,325 7.20M/s in 0.2s
2019-03-31 23:24:24 (7.20 MB/s) - `get-pip.py' saved [1699325/1699325]
Collecting pip
Using cached https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.
3-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.0.3
Uninstalling pip-19.0.3:
Successfully uninstalled pip-19.0.3
Successfully installed pip-19.0.3
Now that I've been told that it is successfully installed, I issued the following command at the terminal
pip install -U jupyter
Traceback (most recent call last):
File "/opt/aci/sw/python/3.6.3_anaconda-5.0.1/bin/pip", line 7, in <module>
from pip import main
ImportError: cannot import name 'main
From what I see, it appears that old pip is still being invoked and not the newly installed pip, how can I get this to work?
permissions sudo pip
I found that for some unknown reason pip was broken on my account on a server on which I don't have sudo permission. So, I went ahead and installed pip as seen here:
wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user
--2019-03-31 23:24:23-- https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io... 151.101.184.175, 2a04:4e42:2c::175
Connecting to bootstrap.pypa.io|151.101.184.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1699325 (1.6M) [text/x-python]
Saving to: `get-pip.py'
100%[=========================================================================================>] 1,699,325 7.20M/s in 0.2s
2019-03-31 23:24:24 (7.20 MB/s) - `get-pip.py' saved [1699325/1699325]
Collecting pip
Using cached https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.
3-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.0.3
Uninstalling pip-19.0.3:
Successfully uninstalled pip-19.0.3
Successfully installed pip-19.0.3
Now that I've been told that it is successfully installed, I issued the following command at the terminal
pip install -U jupyter
Traceback (most recent call last):
File "/opt/aci/sw/python/3.6.3_anaconda-5.0.1/bin/pip", line 7, in <module>
from pip import main
ImportError: cannot import name 'main
From what I see, it appears that old pip is still being invoked and not the newly installed pip, how can I get this to work?
permissions sudo pip
permissions sudo pip
asked 6 mins ago
Schlator BorgensonSchlator Borgenson
32
32
add a comment |
add a comment |
0
active
oldest
votes
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/3.0/"u003ecc by-sa 3.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%2f1130256%2fbroken-pip-on-a-machine-with-no-sudo-permission%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1130256%2fbroken-pip-on-a-machine-with-no-sudo-permission%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