Sei sulla pagina 1di 11

Installing python for windows

The latest version of python is Python 3.8.3. Depending upon your operating system you can
a version (i.e. 32 bits or 64 bits).
Nowadays most people use 64-bit operating system and hence we can use the 64-bit version
of Python by visiting the following link:
https://www.python.org/downloads/release/python-383/
On this page, find the ‘Windows x86-64 executable installer’ link as shown below.

The file by the name ‘python-3.8.2-amd64.exe’ will be downloaded in our computer. By


double clicking and following the instructions, we can easily the Python software latest
version in our system.
Perform the following steps to install Python:
1. Double click the ‘python-3.8.2-amd64.exe’ file. The Setup dialog box appears.
2. Select the ‘Install launcher for all users’ and ‘Add Python 3.8 to PATH’ checkboxes
at bottom of dialog box.
3. Click the ‘Install Now’ link.

The Setup Progress bar will appear.

When Python Installation is complete, we can see ‘Setup was successful’ message.

4. Click the ‘Close’ button.


Testing the Installation in Windows.

1. Click the ‘Start’ button on the task bar of the windows operating system. It displays
all application, in that find Python 3.8 folder. In this folder, you can see the following
icons:
IDLE (Python 3.8 64-bit)
Python 3.8 (64-bit)
Python 3.8 Manual (64-bit)
Python 3.8 Module Docs (64-bit)
2. Click the ‘IDLE (Python 3.8 64-bit)’ option. The Python’s IDLE (Integrated
Development Environment)’s Graphical user interface window opens as below.

3. Click the python prompt i.e. triple greater than symbol and type quit() to close the
python window. A prompt asking ‘Do you want to kill it?’ appears.

4. Click the ‘OK’ button to quit from IDLE window.


Install PyCharm
1. To download PyCharm visit the website https://www.jetbrains.com/pycharm/download/
and Click the "DOWNLOAD" link under the Community Section.

2. Once the download is complete, run the exe for install PyCharm. The setup wizard
should have started. Click “Next”.
3. On the next screen, Change the installation path if required. Click “Next”.

4. On the next screen, you can create a desktop shortcut if you want and click on “Next”.
5. Choose the start menu folder. Keep selected JetBrains and click on “Install”.

6. Wait for the installation to finish.


7. Once installation finished, you should receive a message screen that PyCharm is
installed. If you want to go ahead and run it, click the “Run PyCharm Community Edition”
box first and click “Finish”.

8. After you click on "Finish," the Following screen will appear.


Installing numpy

Open the command prompt and execute the following command to install numpy

C:\>pip3 install numpy


Installing pandas

Pandas is mainly used for machine learning in form of dataframes. Pandas allow importing
data of various file formats such as csv, excel etc.

Open the command prompt and execute the following command to install pandas
C:\>pip3 install pandas

Installing matplotlib

matplotlib: Visualization with Python

matplotlib is a comprehensive library for creating static, animated, and interactive


visualizations in Python.

Open the command prompt and execute the following command to install matplotlib

C:\>pip3 install matplotlib


Installing sklearn

Scikit-learn is a great data mining library for Python. It provides a powerful array of tools
to classify, cluster, reduce, select, and so much more.

Open the command prompt and execute the following command to install sklearn

C:\>pip3 install sklearn


Installing Theano

Theano is a Python library that allows you to define, optimize, and efficiently evaluate
mathematical expressions involving multi-dimensional arrays. It is built on top of NumPy.

Installing tensorflow

TensorFlow makes it easy for beginners and experts to create machine learning models for
desktop, mobile, web, and cloud.
To verify installed packages

>>> help('modules')

This command shows all the module names currently available in python software as
shown in following figure.

Potrebbero piacerti anche