Pycharm does not activate existing virtual environments. When I select it in the list of possible venvs and click OK it just does some loading and does not close the window. The venv is not activated.
The only way to get a proper venv
working is to start a new project have Pycharm create it when starting the project. Otherwise it does not work.
I have upgraded Pycharm many times suspect that older versions are messing something up.
Tldr:
Delete Pycharm's config directory found in ~/.config/JetBrains
For other OS the locations are here
Wanted to answer my own question since this has been bugging me for weeks on end.
I tried deleting Pycharm's cache directory, it did not the fix the problem.
But after I deleted the entire config directory it fixed the problem. I am pretty sure some of the icons in the new project wizard also changed, point to dross from old versions of Pycharm messing things up for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With