-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Starting the kernel in the conda environment is very slow, much slower than starting it in python's native environment #22238
Comments
Thanks for filing this issue, starting conda kernels is generally very slow due to the time taken to activate conda environments. For instance as a user, activating conda environments in the terminal could be slow, opening a terminal and activating. That being said, I would like to still ensure this is the case and not anything else.
|
Note, using packages like keras or others can further slow down activation of conda environments. |
@grantsimongrant You can just uplodate the file into a github issue and that will work. |
|
thanks for sharing the logs.
Based on the logs some part of the code is timing out after 6s, |
|
@karrtikr based on the logs, activation of the conda env is failing |
@grantsimongrant Conda activation command seems to be failing for you. Can you run the following command outside VS Code in Command prompt and send the screenshot of the output?
If it does not fail, try running the same inside VS Code by opening command prompt. |
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off. Happy Coding! |
Applies To
What happened?
It will take a minute or two to start the kernel. Please speed up kernel startup in conda environment.
VS Code Version
1.83.0
Jupyter Extension Version
v2023.9.1102792234
Jupyter logs
No response
Coding Language and Runtime Version
python v3.12.0
Language Extension Version (if applicable)
python pylance
Anaconda Version (if applicable)
miniconda3
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered: