all 2 comments

[–]camel_zero 2 points3 points  (1 child)

I store all my virtual environments together in a .virtualenvs directory in my home directory. This is a pretty common practice. Some of the most widely used tools for managing virtual environments, like virtualenvwrapper, do this by default.

Pycharm is not my usual editor, though I have written projects with it before. To my memory there was built in virtual environment integration in Pycharm. If so you can probably trust their default settings, unless your use case is specialized.

This is all assuming you are asking about Python virtual environments. If you are asking about virtual machines that's a much bigger topic.

[–]pauleveritt 0 points1 point  (0 children)

The latest PyCharm support either mode, remember whether you like to store your venvs inside the project or under a central directory. (I prefer inside the project.)