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

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          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'

          Where is the suspend/hibernate button in GNOME Shell? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)No suspend option in UI on Bionic BeaverHow can I set sleep mode in ubuntu18.04 LTS and what is the short cut key to do so?17.10 suspend not availableUbuntu 18.04 LTS missing sleep optionUbuntu 18.04 LTS - missing suspend option when power button is pressedHow to put Thinkpad X1 Extreme to sleep in Ubuntu 18.10?Suspend Button in interactive power button menu18.04 - Keep programs running after logging outway to disable Hibernate from within gconf-editor so button disappears?How can I hibernate from GNOME Shell?How can I hibernate/suspend from the command line and do so at a specific timeNo permission to suspend/hibernate after upgrading to 12.10MATE - Missing Suspend and Hibernate buttons, pressing power button shutdowns system immediatelyUbuntu 14.04: Suspend, Hibernate and Suspend-hybrid in the menu?Change “power-button-action” comand for “hibernate” option in GNOME 3.18Shutdown / Power off button does always go to suspend on 17.10Hibernate after suspend stopped working in 17.10Why doesn't the keyboard screenshot button work on Ubuntu with GNOME shell?