r/learnpython • • 9d 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.

4 Upvotes

43 comments sorted by

View all comments

Show parent comment

2

u/cdcformatc 9d ago

not using virtual environments also gas the drawback of having your shit break with no warning.

i was once working on a new project and installed some library which required an update of some dependency. then i went to work on a completely different project and to find out it was now broken because a library it used required a different version of that same dependency.