0

I installed miniconda on a Windows machine and whenever I type python in a PowerShell window to start up Python I get the following:

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

I followed the link, but I honestly do not understand what I need to do...

Any tips?

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
Stophface
  • 8,519
  • 25
  • 87
  • 179
  • Look through here https://stackoverflow.com/questions/56679132/python-is-in-conda-env-but-has-not-been-activated-in-windows-virtual-env – stefan_aus_hannover Oct 14 '21 at 15:21
  • Someone suggested adding the tag "python-3.x" (which I rejected). But it is something to consider. Why or why not? – Peter Mortensen Oct 14 '21 at 22:20
  • 3
    This is a FAQ. There must be a canonical question somewhere. The low-scored ones here are what the search engines chose to list first. Related: *[CMD warning: "Python interpreter is in a conda environment, but the environment has not been activated"](https://stackoverflow.com/questions/56623269/)*, *[Python is in a Conda environment, but it has not been activated in a Windows virtual environment](https://stackoverflow.com/questions/56679132)*, *[Python interpreter is in a Conda environment, but the environment has not been activated](https://stackoverflow.com/questions/69280974)*, - – Peter Mortensen Oct 14 '21 at 22:38
  • cont' - *[Windows CMD: "This Python interpreter is in a conda environment, but the environment has not been activated"](https://stackoverflow.com/questions/65962598)*, *[Python Anaconda interpreter is in a Conda environment, but the environment has not been activated](https://stackoverflow.com/questions/62333071)*, *[Anaconda environment won't activate](https://stackoverflow.com/questions/58924384/)*, and *[Conda environment is activated, but Python console says the environment has not been activated](https://stackoverflow.com/questions/62216927)*. – Peter Mortensen Oct 14 '21 at 23:00

1 Answers1

0

In a command shell:

conda activate

And if this doesn't work yet:

conda init --all
Peter
  • 3,992
  • 2
  • 18
  • 25
  • If this answer was helpful, please don't forget to accept/upvote it to reward volunteer help. This is the only way StackOverflow works. But in any case follow up on your question. There have been real people trying to help you! – Peter Oct 29 '21 at 23:09