spyder-terminal
spyder-terminal copied to clipboard
Conda activate does not work
Description of your problem
What steps will reproduce the problem?
- Open spyder powershell terminal
- No env is active (e.g expect
(base) PS C:\Users\Username>
but just getPS C:\Users\Username>
) - Run
conda activate base
- no errors - type
python
to run an interactive session
What is the expected output? What do you see instead?
I see this warning:
Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Warning: 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
Indicating conda activate silently failed.
I would like to use the anaconda prompt from within spyder, or at least to be able to run conda commands/get error info if they fail. My use case is installing new packages to the env or running in python 3.10 env which I can't otherwise since spyder-kernels is <=3.9 so IPython console won't find it.
Versions and main components
- Terminal Version: 1.1.0
- Spyder Version: 5.1.5
- Python Version: 3.9.7
- Operating system: Win 10
Hi @Greedquest,
If you use another backend for the terminal, does the environment activates correctly? I just want to know if this is only happening in powershell or in windows overall.
Hey @steff456 no works in cmd just not powershell
I'll try to reproduce this issue on my end