Home:ALL Converter>Anaconda on Windows Subsystem for Linux

Anaconda on Windows Subsystem for Linux

Ask Time:2019-08-13T02:03:03         Author:Josmoor98

Json Formatter

Anaconda was successfully installed using Example 1 in my Windows Subsystem for Linux (WSL).

After completing the installation, I managed to run a Jupyter notebook in a browser and everything was working as expected. However, when I restart WSL, my anaconda virtual environment isn't recognised when WSL is launched. I can only access features, such as Jupyter, by executing source ~anaconda3/bin/activate first.

I managed to get around this by adding source ~anaconda3/bin/activate to my ~/.bash_profile, but I haven't found any tutorials online that suggest this should necessary. Is this workaround acceptable, or should I be using an alternative approach, to force WSL to "remember" my anaconda virtual env?

Author:Josmoor98,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/57466073/anaconda-on-windows-subsystem-for-linux
yy