Open In App

How to setup Anaconda path to environment variable ?

Anaconda is open-source software that contains Jupyter, spyder, etc that are used for large data processing, data analytics, heavy scientific computing. Anaconda works for R and python programming languages. Spyder(sub-application of Anaconda) is used for python. Opencv for python will work in spyder. Package versions are managed by the package management system called conda. 

What is the environment variable?

Environment variables basically define the behavior of the environment. They can affect the processes ongoing or the programs that are executed in the environment. The region from which this variable can be accessed or over which it is defined is termed as the scope of the variable.  



Steps for setting up the environment variable:

Windows



Linux

In Linux, there are several ways to install Anaconda. But we will refer to the simplest and easy way to install Anaconda using the terminal. Go through How to install Anaconda on Linux? and follow the instructions. Generally, the Path variable is automatically set in Linux at the time of installation, but it can also be set manually by the following steps: 

export ANACONDA = /home/nikhil/anaconda3

export PATH = $PATH:/home/nikhil/anaconda3/bin

 

Article Tags :