setup_python
May 8, 2018
0.0.1 How to Setup python ?
Installing python can be sometimes tricky for new users because of different versioning and other
issues. Hence, we recommend you to use Anaconda to install python in your operating system.
You can download and install packages only after you have successfully installed python.
Follow the Steps below to setup python A. Download Anaconda:
1. Visit the anaconda homepage
2. Click on the Download to go to the Downlaod page.
3. Choose python 3.6 version, 64 bit graphical installer.
4. Double click the download file
5. Install anaconda
6. Check anaconda and python is installed by typing conda -v and python -v in the terminal
7. conform your environment is up to date conda update conda conda update anaconda
8. Jupyter notebook is installed with anaconda. You can go to the folder where you want to
write your python project. cd to that folder in the terminal and type jupyter notebook
This opens a notebook in https://localhost:8888
9. In the notebook import the relevant packages for example:
In [9]: import numpy as np
import pandas as pd
import sklearn
In [11]: print(np.__version__)
print(pd.__version__)
print(sklearn.__version__)
1.13.3
0.20.3
0.19.0
9. You can install the packages which are not already existing by typing following commands
in the terminal pip install For example: pip install pandas, will install pandas then you can
import it.