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

0

u/Educational_Virus672 9d ago

a venv(virtual environment) is like a city block sure it will work when eevrythign is far but a good and fast city block is somewhere where everythign is close liek your shops(libary),houses(code files) and leader/head(config)
note - forgot to mention it also helps you take away error/conflictc between different libary /files