Skip to content
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

Conda activate does not work #290

Open
Greedquest opened this issue Oct 26, 2021 · 3 comments
Open

Conda activate does not work #290

Greedquest opened this issue Oct 26, 2021 · 3 comments
Assignees

Comments

@Greedquest
Copy link

Greedquest commented Oct 26, 2021

Description of your problem

What steps will reproduce the problem?

  1. Open spyder powershell terminal
  2. No env is active (e.g expect (base) PS C:\Users\Username> but just get PS C:\Users\Username> )
  3. Run conda activate base - no errors
  4. 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
@steff456
Copy link
Member

steff456 commented Nov 3, 2021

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.

@steff456 steff456 self-assigned this Nov 3, 2021
@Greedquest
Copy link
Author

Hey @steff456 no works in cmd just not powershell

@steff456
Copy link
Member

steff456 commented Nov 8, 2021

I'll try to reproduce this issue on my end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants