Ugraded to Ubuntu 18.04.2 LTS From Ubuntu 16.04












1















So, I'm a still fairly unfamiliar with Ubuntu as an OS and just now upgraded it from ubuntu 16.04 to Ubuntu 18.04.2 LTS,



Now I'm facing some issues and am not sure where to go from here. I use my system for web development. Mainly on Django and Vue.js which I'm learning these days. I had setup a project with a virtualenv using python 3.5 prior to the update. Now, after the update, my python version is Python 3.6.7



when I enter the command: pip3 --version
I get the following error:




from pip._internal import main ModuleNotFoundError: No module named
'pip._internal'




Also, when I have removed the env file from my project, and create a new virtualenv, this is what happens:




ModuleNotFoundError: No module named 'virtualenv' Makefile:27: recipe
for target 'env' failed




Can I know what I'm going to have to reinstall inorder to get all this working again?



Similarly, I had installed pgadmin4. When I try to run that, I get this following error:




Could not find platform independent libraries Could not find
platform dependent libraries Consider setting
$PYTHONHOME to [:] Fatal Python error:
Py_Initialize: Unable to get the locale encoding ImportError: No
module named 'encodings'



Current thread 0x00007fec223d0740 (most recent call first):
./start_pgadmin4.sh: line 3: 5857 Aborted (core
dumped) python3 lib/python3.5/site-packages/pgadmin4/pgAdmin4.py




Does this all mean I'm going to have to reinstall all this stuff again? Or is there some better way to go about it? What do I do in this situation?










share|improve this question







New contributor




Hamza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    So, I'm a still fairly unfamiliar with Ubuntu as an OS and just now upgraded it from ubuntu 16.04 to Ubuntu 18.04.2 LTS,



    Now I'm facing some issues and am not sure where to go from here. I use my system for web development. Mainly on Django and Vue.js which I'm learning these days. I had setup a project with a virtualenv using python 3.5 prior to the update. Now, after the update, my python version is Python 3.6.7



    when I enter the command: pip3 --version
    I get the following error:




    from pip._internal import main ModuleNotFoundError: No module named
    'pip._internal'




    Also, when I have removed the env file from my project, and create a new virtualenv, this is what happens:




    ModuleNotFoundError: No module named 'virtualenv' Makefile:27: recipe
    for target 'env' failed




    Can I know what I'm going to have to reinstall inorder to get all this working again?



    Similarly, I had installed pgadmin4. When I try to run that, I get this following error:




    Could not find platform independent libraries Could not find
    platform dependent libraries Consider setting
    $PYTHONHOME to [:] Fatal Python error:
    Py_Initialize: Unable to get the locale encoding ImportError: No
    module named 'encodings'



    Current thread 0x00007fec223d0740 (most recent call first):
    ./start_pgadmin4.sh: line 3: 5857 Aborted (core
    dumped) python3 lib/python3.5/site-packages/pgadmin4/pgAdmin4.py




    Does this all mean I'm going to have to reinstall all this stuff again? Or is there some better way to go about it? What do I do in this situation?










    share|improve this question







    New contributor




    Hamza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      So, I'm a still fairly unfamiliar with Ubuntu as an OS and just now upgraded it from ubuntu 16.04 to Ubuntu 18.04.2 LTS,



      Now I'm facing some issues and am not sure where to go from here. I use my system for web development. Mainly on Django and Vue.js which I'm learning these days. I had setup a project with a virtualenv using python 3.5 prior to the update. Now, after the update, my python version is Python 3.6.7



      when I enter the command: pip3 --version
      I get the following error:




      from pip._internal import main ModuleNotFoundError: No module named
      'pip._internal'




      Also, when I have removed the env file from my project, and create a new virtualenv, this is what happens:




      ModuleNotFoundError: No module named 'virtualenv' Makefile:27: recipe
      for target 'env' failed




      Can I know what I'm going to have to reinstall inorder to get all this working again?



      Similarly, I had installed pgadmin4. When I try to run that, I get this following error:




      Could not find platform independent libraries Could not find
      platform dependent libraries Consider setting
      $PYTHONHOME to [:] Fatal Python error:
      Py_Initialize: Unable to get the locale encoding ImportError: No
      module named 'encodings'



      Current thread 0x00007fec223d0740 (most recent call first):
      ./start_pgadmin4.sh: line 3: 5857 Aborted (core
      dumped) python3 lib/python3.5/site-packages/pgadmin4/pgAdmin4.py




      Does this all mean I'm going to have to reinstall all this stuff again? Or is there some better way to go about it? What do I do in this situation?










      share|improve this question







      New contributor




      Hamza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      So, I'm a still fairly unfamiliar with Ubuntu as an OS and just now upgraded it from ubuntu 16.04 to Ubuntu 18.04.2 LTS,



      Now I'm facing some issues and am not sure where to go from here. I use my system for web development. Mainly on Django and Vue.js which I'm learning these days. I had setup a project with a virtualenv using python 3.5 prior to the update. Now, after the update, my python version is Python 3.6.7



      when I enter the command: pip3 --version
      I get the following error:




      from pip._internal import main ModuleNotFoundError: No module named
      'pip._internal'




      Also, when I have removed the env file from my project, and create a new virtualenv, this is what happens:




      ModuleNotFoundError: No module named 'virtualenv' Makefile:27: recipe
      for target 'env' failed




      Can I know what I'm going to have to reinstall inorder to get all this working again?



      Similarly, I had installed pgadmin4. When I try to run that, I get this following error:




      Could not find platform independent libraries Could not find
      platform dependent libraries Consider setting
      $PYTHONHOME to [:] Fatal Python error:
      Py_Initialize: Unable to get the locale encoding ImportError: No
      module named 'encodings'



      Current thread 0x00007fec223d0740 (most recent call first):
      ./start_pgadmin4.sh: line 3: 5857 Aborted (core
      dumped) python3 lib/python3.5/site-packages/pgadmin4/pgAdmin4.py




      Does this all mean I'm going to have to reinstall all this stuff again? Or is there some better way to go about it? What do I do in this situation?







      apt 18.04 software-installation python python3






      share|improve this question







      New contributor




      Hamza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Hamza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Hamza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 7 hours ago









      HamzaHamza

      61




      61




      New contributor




      Hamza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Hamza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Hamza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















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


          }
          });






          Hamza is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125136%2fugraded-to-ubuntu-18-04-2-lts-from-ubuntu-16-04%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








          Hamza is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Hamza is a new contributor. Be nice, and check out our Code of Conduct.













          Hamza is a new contributor. Be nice, and check out our Code of Conduct.












          Hamza is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f1125136%2fugraded-to-ubuntu-18-04-2-lts-from-ubuntu-16-04%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

          GameSpot

          日野市

          Tu-95轟炸機