Steps to Set up Anaconda Path to Environment Variable

Windows
  • Download Anaconda for Python. Make sure to download the “Python 3.7 Version” for the appropriate architecture. 

  • After the download is over, go through How to install Anaconda on windows? and follow the given instructions. 
  • After the installation is done, we need to set up the environment variable. 
    Go to Control Panel -> System and Security -> System 
    Under the Advanced System Setting option click on Environment Variables as shown below: 

  • Now, we have to alter the “Path” variable under System variables so that it also contains the path to the Anaconda environment. Select the “Path” variable and click on the Edit button as shown below: 

  • We will see a list of different paths, click on the New button and then add the path where Anaconda is installed. 

  • Click on OK, Save the settings and it is done !! Now to check whether the installation is done correctly, open the command prompt and type anaconda-navigator. It will start the anaconda navigator App if installed correctly. 
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: 

  • Go to Application -> Accessories -> Terminal
  • For setting up Environment Variable, type the following command in the Terminal with the use of the Installation path: 
export ANACONDA = /home/nikhil/anaconda3

  • For setting up the Environment Value, type the following command in the Terminal with the use of the Installation path: 
export PATH = $PATH:/home/nikhil/anaconda3/bin

  • It is done!! Now to check whether the installation is done correctly, open Terminal and type anaconda-navigator. It will start the anaconda navigator App if installed correctly.
     

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, and heavy scientific computing. Anaconda works for R and Python programming languages. Spyder(a sub-application of Anaconda) is used for Python. for Python will work in Spyder. Package versions are managed by the package management system called Conda. 

Similar Reads

What is the Environment Variable?

Environment variables 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 to Set up Anaconda Path to Environment Variable:

Windows...

Conclusion

In conclusion, Anaconda is a powerful tool for Python programming, offering a range of features like Jupyter and Spyder for data processing and scientific computing. Setting up Anaconda involves adding its path to system variables, ensuring smooth execution of Anaconda commands. So this was all about How to add Anaconda Path to Environment Variable....

Setup Anaconda Path to Environment Variable – FAQs

How do I add Anaconda to path variables?...

Contact Us