![]() ![]() Refer to page for more information: Create Environments with Different Python Versions in Anaconda. Now you can use conda command to manage your Python virtual environments. Set the auto_activate_base parameter to false:Ĭonda config -set auto_activate_base false If you'd prefer that conda's base environment not be activated on startup, => For changes to take effect, close and re-open your current shell. No change /home/kontext/miniconda3/etc/profile.d/conda.csh No change /home/kontext/miniconda3/lib/python3.9/site-packages/xontrib/conda.xsh No change /home/kontext/miniconda3/shell/condabin/conda-hook.ps1 No change /home/kontext/miniconda3/shell/condabin/Conda.psm1 No change /home/kontext/miniconda3/etc/fish/conf.d/conda.fish 8 comments MaximoTrinidad commented on open jupyternotebookconfig.py file (found in /.jupyter dir with anaconda install in ubuntu) turn off token requirement: c.NotebookApp.No change /home/kontext/miniconda3/etc/profile.d/conda.sh ![]() No change /home/kontext/miniconda3/bin/deactivate No change /home/kontext/miniconda3/bin/activate No change /home/kontext/miniconda3/bin/conda-env No change /home/kontext/miniconda3/bin/conda No change /home/kontext/miniconda3/condabin/conda You can also init Miniconda by typing yes: Preparing transaction: doneĭo you wish the installer to initialize Miniconda3 Miniconda3 will now be installed into this location: When asked, you need to accept license by type yes to continue: Do you accept the license terms? Īnd then press ENTER to continue. Now we can install it by running the following command: sh. This is to ensure the binary package is not modified. The output is consistent with the expected. This can be done by running the following command in your WSL distro: sudo apt-get update The installer can be downloaded from the official web page: Miniconda - Conda documentation.įor this article, I am downloading this specific version: Miniconda3 Linux 64-bit. You can install WSL 2 following this article - Install Windows Subsystem for Linux on a Non-System Drive. The steps are the same for Anaconda installation and the only difference is that the installer packages are different. This article provides detailed steps of installing Miniconda. This can be applied to other WSL2 distros or Linux directly with small changes of the command lines. This article shows you how to install Miniconda or Anaconda on a WSL2 Debian GNU Linux distro. I would be happy If I either would know where to install my packages (as long as they are in Linux), or if someone knows how to force Jupyter to use the Anaconda from WSL.Anaconda and Miniconda are commonly used by Python developers to create Python virtual environments with different Python versions and packages. I do not have Anaconda or python in my Windows environment variables. The spessific package that forces me to linux can be found at "" but requires registration for downloads. I am hesitant to delete my Windows Anaconda since I have my precious environments all set up there and are using them constantly. WSL returns: '3.8.5 (default, Sep 4 2020, 07:30:14) \n'Ĭonfirming that the "wrong python is used". Import sys and sys.version both in the WSL and in the Jupyter notebook. I am currently working in the base environment, but I believe that Jupyter is actually running python from a different source (I also have Anaconda on my Windows). Then the Jupyter notebook can not find it. However when I try to install packages such as: I have Jupyter notebook, and can run this in the Firefox on my computer and it seams to be working properly. I have installed Anaconda (Anaconda3-2020.11-Linux-x86_64) on my Windows 10 Education 1909. I am using Windows subsystem for Linux WSL with the Ubuntu App (Ubuntu 20.04 LTS). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |