How can I install modules of python in Ubuntu? [duplicate]












1
















This question already has an answer here:




  • How do I check whether a module is installed in Python, and install it if needed?

    9 answers




I have python3 installed in Ubuntu 18.04 and I want to use different modules of python. Can anyone tell me how to install them?










share|improve this question















marked as duplicate by N0rbert, Melebius, K7AAY, wjandrea, muru Aug 17 '18 at 2:53


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.























    1
















    This question already has an answer here:




    • How do I check whether a module is installed in Python, and install it if needed?

      9 answers




    I have python3 installed in Ubuntu 18.04 and I want to use different modules of python. Can anyone tell me how to install them?










    share|improve this question















    marked as duplicate by N0rbert, Melebius, K7AAY, wjandrea, muru Aug 17 '18 at 2:53


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.





















      1












      1








      1









      This question already has an answer here:




      • How do I check whether a module is installed in Python, and install it if needed?

        9 answers




      I have python3 installed in Ubuntu 18.04 and I want to use different modules of python. Can anyone tell me how to install them?










      share|improve this question

















      This question already has an answer here:




      • How do I check whether a module is installed in Python, and install it if needed?

        9 answers




      I have python3 installed in Ubuntu 18.04 and I want to use different modules of python. Can anyone tell me how to install them?





      This question already has an answer here:




      • How do I check whether a module is installed in Python, and install it if needed?

        9 answers








      software-installation 18.04 python






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 16 '18 at 16:58









      Zanna

      50.6k13136241




      50.6k13136241










      asked Aug 15 '18 at 16:53









      Deepak JoshiDeepak Joshi

      84




      84




      marked as duplicate by N0rbert, Melebius, K7AAY, wjandrea, muru Aug 17 '18 at 2:53


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









      marked as duplicate by N0rbert, Melebius, K7AAY, wjandrea, muru Aug 17 '18 at 2:53


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          1 Answer
          1






          active

          oldest

          votes


















          2














          pip is the Python package installer. It integrates with virtualenv, doesn't do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories. The Python Package Index, abbreviated as PyPI, is the official third-party software repository for Python.



          Open the terminal and type:



          for Python 3.x (python3 is installed by default in Ubuntu 18.04.)



          sudo apt install python3-pip


          for Python 2.x



          sudo apt install python-pip  


          After a Python package has been installed by pip install <package-name> or pip3 install <package-name>, you can run the following command to check if it is installed:



          pip freeze | grep package-name





          share|improve this answer
































            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            pip is the Python package installer. It integrates with virtualenv, doesn't do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories. The Python Package Index, abbreviated as PyPI, is the official third-party software repository for Python.



            Open the terminal and type:



            for Python 3.x (python3 is installed by default in Ubuntu 18.04.)



            sudo apt install python3-pip


            for Python 2.x



            sudo apt install python-pip  


            After a Python package has been installed by pip install <package-name> or pip3 install <package-name>, you can run the following command to check if it is installed:



            pip freeze | grep package-name





            share|improve this answer






























              2














              pip is the Python package installer. It integrates with virtualenv, doesn't do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories. The Python Package Index, abbreviated as PyPI, is the official third-party software repository for Python.



              Open the terminal and type:



              for Python 3.x (python3 is installed by default in Ubuntu 18.04.)



              sudo apt install python3-pip


              for Python 2.x



              sudo apt install python-pip  


              After a Python package has been installed by pip install <package-name> or pip3 install <package-name>, you can run the following command to check if it is installed:



              pip freeze | grep package-name





              share|improve this answer




























                2












                2








                2







                pip is the Python package installer. It integrates with virtualenv, doesn't do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories. The Python Package Index, abbreviated as PyPI, is the official third-party software repository for Python.



                Open the terminal and type:



                for Python 3.x (python3 is installed by default in Ubuntu 18.04.)



                sudo apt install python3-pip


                for Python 2.x



                sudo apt install python-pip  


                After a Python package has been installed by pip install <package-name> or pip3 install <package-name>, you can run the following command to check if it is installed:



                pip freeze | grep package-name





                share|improve this answer















                pip is the Python package installer. It integrates with virtualenv, doesn't do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories. The Python Package Index, abbreviated as PyPI, is the official third-party software repository for Python.



                Open the terminal and type:



                for Python 3.x (python3 is installed by default in Ubuntu 18.04.)



                sudo apt install python3-pip


                for Python 2.x



                sudo apt install python-pip  


                After a Python package has been installed by pip install <package-name> or pip3 install <package-name>, you can run the following command to check if it is installed:



                pip freeze | grep package-name






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 18 at 15:06

























                answered Aug 15 '18 at 17:17









                karelkarel

                59.3k13128151




                59.3k13128151















                    Popular posts from this blog

                    Questions related to Moebius Transform of Characteristic Function of the Primes

                    List of scandals in India

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?