How do python virtual environments handle site packages?

god knows how, but I seem to have it working, I need to check my command history BRB. (This was under bash, fish didn’t like it).

## Bash & Fish:
pip install opensesame-core
pip install pyqt5
## Then (Bash):
export QT_QPA_PLATFORM=xcb
bin/opensesamerun
## Fish:
set QT_QPA_PLATFORM xcb
echo $QT_QPA_PLATFORM # should say xcb
bin/opensesamerun

all the above in the venv