New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/issues/49402#issuecomment-2012251375 Comment: This is expected behavior. When packages are built with `xbps-src`, the shebang in Python scripts is deliberately overwritten to use `/usr/bin/python3` instead of whatever Python interpreter might be in your path. Hence, running `jupyter` will ignore the virtual environment. We do this to ensure that Void-packaged Python scripts behave in a predictable manner. If you want to override the shebang in Void-packaged scripts, you'll have to explicitly run the interpreter. You can write a wrapper or define an alias to make this happen.