multiple python versions after pip3 install












1















I've spent a lot of time on the internet but did not found the information I need.
I've installed sudo apt-get install python3-pip from shell (I needed it for Pycharm venv - not important) but it seems that my python versions got messed up, there are new folders in lib, plus the disk size required was around 200mb which was odd.



I've since then uninstalled with sudo apt-get remove python3-pip + sudo apt-get autoremove. However, the folders in usr/lib still exist and if I try to install again it says ~80mb dependencies, meaning that some of the packages installed earlier still exist on my system.



The question - should I have installed pip3 for specific python version and why the change in python installations? Was there a better way to install pip3 on my system?



P.S. яну == Jan in date logs below.



/usr/bin$ ll -d python*
lrwxrwxrwx 1 root root 9 окт 25 14:11 python3 -> python3.6*
-rwxr-xr-x 2 root root 4522328 окт 22 14:32 python3.6*
-rwxr-xr-x 2 root root 4522328 окт 22 14:32 python3.6m*
lrwxrwxrwx 1 root root 10 окт 25 14:11 python3m -> python3.6m*

/usr/lib$ ll -d python*
drwxr-xr-x 27 root root 24576 ное 18 06:41 python2.7/
drwxr-xr-x 3 root root 4096 юли 25 2018 python3/
drwxr-xr-x 30 root root 20480 яну 26 16:05 python3.6/
drwxr-xr-x 5 root root 4096 яну 26 16:05 python3.7/

/usr/local/bin$ ll -d python*
ls: cannot access 'python*': No such file or directory









share|improve this question





























    1















    I've spent a lot of time on the internet but did not found the information I need.
    I've installed sudo apt-get install python3-pip from shell (I needed it for Pycharm venv - not important) but it seems that my python versions got messed up, there are new folders in lib, plus the disk size required was around 200mb which was odd.



    I've since then uninstalled with sudo apt-get remove python3-pip + sudo apt-get autoremove. However, the folders in usr/lib still exist and if I try to install again it says ~80mb dependencies, meaning that some of the packages installed earlier still exist on my system.



    The question - should I have installed pip3 for specific python version and why the change in python installations? Was there a better way to install pip3 on my system?



    P.S. яну == Jan in date logs below.



    /usr/bin$ ll -d python*
    lrwxrwxrwx 1 root root 9 окт 25 14:11 python3 -> python3.6*
    -rwxr-xr-x 2 root root 4522328 окт 22 14:32 python3.6*
    -rwxr-xr-x 2 root root 4522328 окт 22 14:32 python3.6m*
    lrwxrwxrwx 1 root root 10 окт 25 14:11 python3m -> python3.6m*

    /usr/lib$ ll -d python*
    drwxr-xr-x 27 root root 24576 ное 18 06:41 python2.7/
    drwxr-xr-x 3 root root 4096 юли 25 2018 python3/
    drwxr-xr-x 30 root root 20480 яну 26 16:05 python3.6/
    drwxr-xr-x 5 root root 4096 яну 26 16:05 python3.7/

    /usr/local/bin$ ll -d python*
    ls: cannot access 'python*': No such file or directory









    share|improve this question



























      1












      1








      1








      I've spent a lot of time on the internet but did not found the information I need.
      I've installed sudo apt-get install python3-pip from shell (I needed it for Pycharm venv - not important) but it seems that my python versions got messed up, there are new folders in lib, plus the disk size required was around 200mb which was odd.



      I've since then uninstalled with sudo apt-get remove python3-pip + sudo apt-get autoremove. However, the folders in usr/lib still exist and if I try to install again it says ~80mb dependencies, meaning that some of the packages installed earlier still exist on my system.



      The question - should I have installed pip3 for specific python version and why the change in python installations? Was there a better way to install pip3 on my system?



      P.S. яну == Jan in date logs below.



      /usr/bin$ ll -d python*
      lrwxrwxrwx 1 root root 9 окт 25 14:11 python3 -> python3.6*
      -rwxr-xr-x 2 root root 4522328 окт 22 14:32 python3.6*
      -rwxr-xr-x 2 root root 4522328 окт 22 14:32 python3.6m*
      lrwxrwxrwx 1 root root 10 окт 25 14:11 python3m -> python3.6m*

      /usr/lib$ ll -d python*
      drwxr-xr-x 27 root root 24576 ное 18 06:41 python2.7/
      drwxr-xr-x 3 root root 4096 юли 25 2018 python3/
      drwxr-xr-x 30 root root 20480 яну 26 16:05 python3.6/
      drwxr-xr-x 5 root root 4096 яну 26 16:05 python3.7/

      /usr/local/bin$ ll -d python*
      ls: cannot access 'python*': No such file or directory









      share|improve this question
















      I've spent a lot of time on the internet but did not found the information I need.
      I've installed sudo apt-get install python3-pip from shell (I needed it for Pycharm venv - not important) but it seems that my python versions got messed up, there are new folders in lib, plus the disk size required was around 200mb which was odd.



      I've since then uninstalled with sudo apt-get remove python3-pip + sudo apt-get autoremove. However, the folders in usr/lib still exist and if I try to install again it says ~80mb dependencies, meaning that some of the packages installed earlier still exist on my system.



      The question - should I have installed pip3 for specific python version and why the change in python installations? Was there a better way to install pip3 on my system?



      P.S. яну == Jan in date logs below.



      /usr/bin$ ll -d python*
      lrwxrwxrwx 1 root root 9 окт 25 14:11 python3 -> python3.6*
      -rwxr-xr-x 2 root root 4522328 окт 22 14:32 python3.6*
      -rwxr-xr-x 2 root root 4522328 окт 22 14:32 python3.6m*
      lrwxrwxrwx 1 root root 10 окт 25 14:11 python3m -> python3.6m*

      /usr/lib$ ll -d python*
      drwxr-xr-x 27 root root 24576 ное 18 06:41 python2.7/
      drwxr-xr-x 3 root root 4096 юли 25 2018 python3/
      drwxr-xr-x 30 root root 20480 яну 26 16:05 python3.6/
      drwxr-xr-x 5 root root 4096 яну 26 16:05 python3.7/

      /usr/local/bin$ ll -d python*
      ls: cannot access 'python*': No such file or directory






      18.04 python






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago







      Vitaliy Terziev

















      asked 2 days ago









      Vitaliy TerzievVitaliy Terziev

      1217




      1217






















          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%2f1113286%2fmultiple-python-versions-after-pip3-install%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%2f1113286%2fmultiple-python-versions-after-pip3-install%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

          迪纳利

          How did Captain America manage to do this?

          南乌拉尔铁路局