Python

How to install Anaconda and start programming with Python?

We provide effective and economically affordable training courses for R and Python, Click here for more details and course registration !

Python is among the most popular programming language for data science nowadays, and getting started with Python is quite easy. You can just install e.g. a free platform like Anaconda, then you can get direct access to Python as well as most of its preinstalled modules (Numpy, pandas, matplotlib, etc.), its IDE (Spyder, etc) and its easygoing package management tools.

  1. Download and install Anaconda

To install Anaconda, you can just visit their webpage or go directly to the following link:

https://www.anaconda.com/download#downloads

then find and download the installer for Windows. Next, just follow the general installation steps for windows software. Just note that you must choose option ‘Add Anaconda to my Path variables’ before you are finishing the installation.

2. Set up Python environment under Anaconda Prompt window

After you have got Anaconda onto your pc, there are just several simple steps before you can really start programming in Python IDE.

You must create an environment in your Anaconda first. This environment is specifically for your working topic or project. Say, you will use Python for machine learning, then you need an environment called ‘Python_ml’. So, you can install machine learning packages like ‘Tensorflow’, ‘keras’ in this environment. And if you need Python for web building. You must create another environment like ‘Python_web’, and some Python modules like Django will be installed there. Each environment in Python is not influenced by the other environments, and each environment has its own Python version. Why? Because most of the Python programming packages or modules are adapted to specific Python versions.

To create a new environment in Anaconda, you can go to Anaconda Prompt window by clicking Start/Anaconda from your pc. The following command is for creating a new environment ‘learnpython’ under Anaconda Prompt, and the version of Python is 3.9.

conda create -name learnpython python=3.9

Next you need to activate this environment under the same window.

activate learnpython

3. Start using IDE Spyder for Python programming

Now you can start using Python IDE – Spyder for programming by clicking Anaconda/Spyder from your pc.

Python IDE Spyder

You can also watch full video on Python course from our YouTube channel.

wilsonzhang746

Recent Posts

Download R Course source files

Click here to download R Course source files !

2 months ago

Download Python Course source files

Click here to download Python Course Source Files !

2 months ago

How to create a data frame from nested dictionary with Pandas in Python

For online Python training registration, click here ! Pandas provides flexible ways of generating data…

5 months ago

How to delete columns of a data frame in Python

For online Python training registration, click here ! Data frame is the tabular data object…

5 months ago

Using isin() to check membership of a data frame in Python

Click her for course registration ! When a data frame in Python is created via…

5 months ago

How to assign values to Pandas data frame in Python

We provide affordable online training course(via ZOOM meeting) for Python and R programming at fundamental…

5 months ago