r/pycharm • • 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

15 comments sorted by

View all comments

1

u/RNG_HatesMe 17d ago

Also be aware that there are multiple ways to create and manage environments. I think it's actually one of the most confusing aspects of Python to new coders.

You can use the built in venv module which has the advantage of being native to Python and requires no additional installs

You can use Conda, which has the advantage of NOT being a part of python, and can therefore manage python itself, as well as packages and other applications (like CUDA).

You can use uv, which is lighter weight and significantly faster than conda, but only manages python and python packages.

All 3 are used widely, though uv is the newest and most "peaking" right now.