Before we start installing any packages, we need to install PYTHON and PIP on windows.
- Download python from this link. You can choose from different versions.
- Run the .exe file.
- Don't forget to check "Add Python to environment variables" checkbox.
- After installing python. to verify if its installed correctly or not, open command prompt and type python. If it is installed properly, you'll see this window.
 |
| Successful installation of Python |
- Now its time to install to install PIP.
- To install PIP, download get-pip from here . Right on it and save as get-pip.py. Or copy everything and paste it in a notepad file then save it as get-pip.py.
- Open cmd in the folder where you have downloaded the get-pip.py file and type:
- python get-pip.py
- Sometimes py get-pip.py works instead of the above command.
- It will install the PIP on your windows.
- After it's installed successfully, you can start installing other packages using pip command:
- pip install numpy
- pip install pandas
- pip install matplotlib
No comments:
Post a Comment