mcleodd10 / beets-navidrome_sync

Work in progress syncing plugin between beets and Navidrome
MIT License
0 stars 0 forks source link

Error: unknown command 'ndpull' #5

Closed isle9 closed 7 months ago

isle9 commented 7 months ago

I'm getting this in the terminal when running either beet ndpull or beet import:


Traceback (most recent call last):
  File "~/.local/pipx/venvs/beets/lib/python3.11/site-packages/beets/plugins.py", line 269, in load_plugins
    namespace = __import__(modname, None, None)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/.local/pipx/venvs/beets/lib/python3.11/site-packages/beetsplug/navidrome_sync/__init__.py", line 3, in <module>
    from . import sftpuploader
  File "~/.local/pipx/venvs/beets/lib/python3.11/site-packages/beetsplug/navidrome_sync/sftpuploader.py", line 1, in <module>
    import paramiko
ModuleNotFoundError: No module named 'paramiko'

error: unknown command 'ndpull'```
isle9 commented 7 months ago

Seems like me using pipx instead of pip was the problem. To install plugins and / or their dependencies properly when using pipx, you can use something like pipx inject beets python3-discogs-client (replace python3-discogs-client with whatever you need - source).

isle9 commented 7 months ago

Unfortunately, I'm still getting 'error: unknown command 'ndpull' even after sorting the dependencies.

isle9 commented 7 months ago

Well, it took me a while, but a finally figured out out how to set this up. Instructions from this plugin helped me I should probably just place the plugin directory somewhere and then use pluginpath to point to that directory and it worked.