-
-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to resolve 'conda not found' error with a miniforge environment #802
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
I installed JuptyerLab's bundled Python environment to see if it would allow me to run Python instead. Interestingly, once I installed it, I was able to open up a notebook and run it using my custom environment, even though there still wasn't a conda path specified within the settings menu. (This switch involved setting both the environment, near the top right of the program, and the kernel, located a bit below the environment, to my custom Conda environment.) This solution works fine for me, although I do have one follow-up question: does the bundled environment use Anaconda? Anaconda updated its terms of service to require payments for commercial use in certain cases (which is why I switched over to miniforge), so I wanted to make sure that installing this environment wouldn't require me to make payments to Anaconda. |
@mbektas Can you answer this question about whether the bundled Python environment uses Anaconda, and if so, what changes customers need to make to use alternatives such as miniforge? |
@kburchfiel the bundled environment is a conda environment (generated using miniconda). We use conda-forge channel by default for bundling the environment and for new environments created by the app. These make sure the app complies to Anaconda rules. @bollwyvl did you have any other details to share on this matter? |
@mbektas That's very helpful to know, thank you! So just to confirm, I don't need to pay Anaconda to use JupyterLab Desktop's bundled environment, correct? (I'm guessing that's what you meant by 'complies to Anaconda rules.') |
yes, (as far as I know) you don't need to pay to Anaconda to use JupyterLab Desktop and the bundled environment. You can check this Anaconda blog post which supports that too. |
Here is the conda-forge take on it: https://conda-forge.org/blog/2020/11/20/anaconda-tos/ To my understanding, and IANAL, what are encumbered are the non-free, mostly repackaging of (mostly)
I therefore generally recommend avoiding all of the above by open source projects, and by extension, corporate downstreams that are looking at this stuff. Other Of course, on non-free platforms/compilers ( |
I would like to use a miniforge Python environment within JupyterLab Desktop on Ubuntu. Therefore, I added the path to this environment (/home/my_username/miniforge3/envs/custom_env/bin/python3.12) into the 'Use custom Python environment' field within JupyterLab Desktop's 'Manage Python environments' menu.
I know that I also need to add an entry into the 'conda path' field. My root miniforge3 folder (which includes all of my environments) contains a 'conda' file within the 'bin' folder that contains the following text:
However, when I enter the path to this file (/home/my_username/miniforge3/bin/conda) into the 'conda path' , I subsequently receive the following error message when trying to open JupyterLab Deskop:
"conda not found"
conda executable not found. Please set conda path in settings to use the conda sub environment."
This indicates that I'm entering the wrong path, but I'm not sure what I should use instead. Interestingly, I don't see a condabin/conda file within the folder for the environment that I wish to use. I don't think that's the source of the issue, though, since when I changed the custom environment entry from my custom environment to my main miniforge3 Python environment, I continued to receive an error message.
I also tried entering /home/my_username/miniforge3/condabin/conda as the path, but this didn't work either.
Thank you in advance for helping me figure out how to get JupyterLab Desktop to accept my custom conda path!
The text was updated successfully, but these errors were encountered: