Welcome,
I don’t know why, but when I make a new virtual environment for python, I can’t import packages that I’ve installed in the top (i.e. system-wide) environment.
For example, when I type:
import gi
In the top python it imports without problems. While I do the same in my venv I get:
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import gi
ModuleNotFoundError: No module named 'gi'