broken pip on a machine with no sudo permission The Next CEO of Stack OverflowTrouble with pip...

"Eavesdropping" vs "Listen in on"

Is it ever safe to open a suspicious HTML file (e.g. email attachment)?

What happened in Rome, when the western empire "fell"?

How to use ReplaceAll on an expression that contains a rule

Physiological effects of huge anime eyes

Which one is the true statement?

Does the Idaho Potato Commission associate potato skins with healthy eating?

how one can write a nice vector parser, something that does pgfvecparse{A=B-C; D=E x F;}

Cannot shrink btrfs filesystem although there is still data and metadata space left : ERROR: unable to resize '/home': No space left on device

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

The Ultimate Number Sequence Puzzle

Is it OK to decorate a log book cover?

Is it correct to say moon starry nights?

free fall ellipse or parabola?

(How) Could a medieval fantasy world survive a magic-induced "nuclear winter"?

IC has pull-down resistors on SMBus lines?

Is French Guiana a (hard) EU border?

What is the difference between "hamstring tendon" and "common hamstring tendon"?

Why is information "lost" when it got into a black hole?

Help/tips for a first time writer?

What was Carter Burke's job for "the company" in Aliens?

Can I board the first leg of the flight without having final country's visa?

What steps are necessary to read a Modern SSD in Medieval Europe?

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?



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












0















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?









share



























    0















    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?









    share

























      0












      0








      0








      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?









      share














      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





      share












      share










      share



      share










      asked 6 mins ago









      Schlator BorgensonSchlator Borgenson

      32




      32






















          0






          active

          oldest

          votes












          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/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
          });


          }
          });














          draft saved

          draft discarded


















          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
















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...