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

1

u/Solomoncjy 8d ago

Ok a virtual environment "venv" is basically a local store of installed pip packages for a specific project. This is done as some projects are incompatible with certain python versions and or packages, so a venv is used to manage them in a per project basis.