Richard <rrosn...@gmail.com> writes: > That's the point of venv's. pipx runpip should do the trick. Or the > classic way: source path/to/venv/bin/activate. That way you activate > the position virtual environment (venv) created in that directory > with all packages installed in that venv. >
I got it working by doing: python3 -m venv .local/pipx/venvs/musicpy/ .local/pipx/venvs/musicpy/bin/python3.11 Then I was able to import musicpy from the python shell. How bewildering! Thanks.