python packages installing methods

Pubblicato il: 18 aprile 2025
sul canale di: DR. AMIN UL HAQ PhD Postdoc
1

Methods to install python package
Python is the most popular programming language for a variety of tasks. The beauty of this language is that it is open-source which makes it freely available and benefits from a very active community of developers around the world. Python developers share their solutions as packages or modules with other python users. This tutorial explains various ways to install a python package.

Method 1 : Using pip
Method 2 : Using conda
Method 3 : Using Command Prompt/Terminal
Method 1 : Using pip
If you are using Jupyter Notebook or IPython Console, make sure to use ! before pip when you enter the command below. Otherwise it would return syntax error.

!pip install package_name
e.g pip install numpy

Method 2 : Using conda
Anaconda is the data science platform which comes with pre-installed popular python packages and powerful IDE (Spyder) to ease writing of python scripts.
If Anaconda is installed on your system (laptop),
click on Anaconda Prompt as shown in the image below.


conda install package-name

Method 3 : Using Command Prompt/Terminal
Type "Command Prompt" in the search bar on Windows OS. For admin rights, right-click and choose "Run as administrator".


In questa pagina del sito puoi guardare il video online python packages installing methods della durata di ore minuti seconda in buona qualità , che l'utente ha caricato DR. AMIN UL HAQ PhD Postdoc 18 aprile 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto volte e gli è piaciuto 1 spettatori. Buona visione!