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










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

          macOS: Name for app shortcut screen found by pinching with thumb and three fingers Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern) Should an RSS feed of hot network questions feed any chat room(s) here?How do I get three finger gestures working again in Twitter for Mac after installing Lion?After my MacBook Pro sleeps some gestures don't work anymoreIs it possible to reassign the “Pinch with thumb and three fingers” gesture to activate Dashboard instead of Launchpad?Disable animation for “Swipe between full-screen apps”?OSX Yosemite Can't disable four-finger swipeDrag with three fingers missing in OS X 10.11 Beta “El Capitan” (15A215h)A shortcut for Merge all Windows on macOS SierraSet the hostname/computer name for macOSmacOS: Identify tool and keyboard shortcutQuickly save Screenshot in MacOS Mojave with keyboard Shortcut

          Is compression “encryption” under FCC regs?Signing of messages transmitted over ham radioWhy do Amateur Radio organizations in the United States oppose the relaxation of encryption prohibitions?How far from earth do FCC regulations apply?How can I know whether a radio is FCC approved?FCC tracking of unlicensed FRS/GMRS transmissionsWhy does the FCC put restrictions on symbol rates?legal - Do FCC regulations only apply in U.S.A?What are FCC/Industry Canada certification requirements for amateur radio related products?How to get professional or official clarification of FCC Part 97 rules for specific complicated situations?Is there any point to keep the CSCE after the FCC registers the upgrade?Do FCC regulations limit digital data rate?

          Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'