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

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          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

          Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org