-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Conda - the environment has not been activated messages #5759
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
Comments
Duplicate of #5764 |
This doesn't seem to be a duplicate of the other issue. This gives me a message saying that the environment wasn't activated. |
Apologies, |
Please could you provide screenshots of the commands sent to the terminal along with the errors displayed in the terminal. |
What version of conda are you using? |
Closing this issue as its been over 4 weeks, since the information was requested. |
Environment data
Expected behaviour
Conda environment activates properly when I start a python terminal
Actual behaviour
Starting a Python terminal or running lines of code w/ shift+enter gives me:
This Python interpreter is in a conda environment, but the environment has not been activated. Libraries may fail to load. To activate this environment please see https://conda.io/activation.
Steps to reproduce:
If I exit() that python environment and run "conda activate myenv", it activates as expected. I can then run "python" and all is well.
Python works, but for some reason my environment is not activating as expected. I'd tried by pointing the Python Path to the base python.exe for anaconda as well, but got the same behavior. I followed a suggestion to point directly to this environment, but that didn't seem to change anything.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Console Log
PythonConsole.log
The text was updated successfully, but these errors were encountered: