r/pycharm • u/Artistic-Army4423 • 20d ago
Virtual Environment and Python
I have started learning python and decided to use pycharm as an editor. I want to know anything which will help me in this journey.
My main question is => I don't get "virtual environment" thing with python. I cloned a repo and opened it in pycharm, it says "No python interpreter configured for <repo-name>" and then suggested to create virtual environment.
I want to hear things from experience devs.
thank you.
0
Upvotes
View all comments
0
u/AdWest6565 20d ago
I never understood why _ALL_ Python tutorials start with 'Create a virtual environment' demand.
And always justify this demand that it is required if you have multiple python projects with different versions of interpreter and libraries.
These demands look quite annoying to me, like a 'propaganda', like forcing me to do something that in fact totally not needed and only should be used in quite particular situations.
'Everything is better with virtual Python environment'
Like 'everything is better with Wi-Fi', 'everything is better with Docker' etc.
In fact for beginner this is totally fine NOT to use this 'feature' advertised everywhere.
I always say: 'good thing does not need advertisement'.
Example: among all possible kinds of insurances only life insurance is advertised in every media 24/7.
Ever asked yourself - why? ;)