r/pycharm • u/Artistic-Army4423 • 18d 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
Show parent comment
2
u/RNG_HatesMe 18d ago
Dude, this is how you tell the world that you don't understand Python without actually saying you don't understand python.
It's very easy to wreck an environment. It can happen to even experienced developers if they install or update packages.
You create a virtual environment so a) you don't hose OTHER environments that you have developed other projects in, and b) you don't hose your base environment, requiring you to completely start from scratch.
This is just basic good practice, and one of the first things a competent developer learns. Package and environment management is a *critical* skill.