Terminal cannot find python or pip anymore
To install packages in pycharm I have always just opened the terminal and pip installed what I need. But since the latest version: Build #PC-223.8214.51 this often don't work. I open a terminal and it cannot recognize pip or python commands. I can start the python console and run my code without problem. So the python Im using is fine. It is only the terminal that seem not to be initialized properly.
A keyword here is often. For some installs it may work, but if I change the interpreter it just stops working.
I work on a win 11 machine.
Please sign in to leave a comment.
Please make sure "Activate virtualenv" is enabled in **Preferences | Tools | Terminal** settings. If it doesn't help, please provide more info about your interpreter. A screenshot of the interpreter settings would help.
I have the same issue I use old python 3.7 and "Activate virtualenv" is enabled. When I try to run installed python I got this message:
"Python 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 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
"
Hello, Emilka300,
To check the issue, please create YouTrack ticket and attach the logs archive, which can be found under Help | Collect Logs and Diagnostic Data along with the output of the command
conda config --show.Also please check whether the same issue occurs when running from the system terminal outside of the IDE? Please provide screenshots of your checks.