Virtual Environments with WSL and Pycharm

  pycharm, python, python-venv, wsl-2

I just started using virtual environments in WSL. I plan to work on multiple projects with substantial library overlap. I don’t want to install all the common libraries in every virtual environment for storage reasons, just for a couple of dependencies. Is the only solution to install these packages globally? Will these global packages be included in a requirements file generated in the virtualenv? Finally, how are non-python files handled by virtualenv?

One of my first questions on StackOverflow, so I am not sure if I am missing any details/have any issues with my question. Any help is appreciated!

Source: Python Questions

LEAVE A COMMENT