Richard <rrosn...@gmail.com> writes:

> Looking at the package, no wonder it fails. musicpy doesn't contain
> anything that can be executed. So pipx run can't work for obvious
> reasons. You'll have to install it with pipx install and use it in a
> python script.
>
> https://pypi.org/project/musicpy/
>

OK so I have found:

./.local/pipx/venvs/musicpy/lib/python3.11/site-packages/musicpy/musicpy.py

But:

 python3.11
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import musicpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'musicpy'

I guess I have to tell python where to look?

Reply via email to