Tutor deck install error

Im getting this error when I try and install the deck plugin:

``
$ tutor plugins install deck
Installing pip requirements:
# deck
tutor-deck>=20.0.0,<21.0.0
/home/anton/bin/tutor -m pip install --requirement /tmp/tutor-reqs-lgr02912.txt
Usage: tutor [OPTIONS] COMMAND [ARGS]...

Error: No such option: -m
Error: Command failed with status 2: /home/anton/bin/tutor -m pip install --requirement /tmp/tutor-reqs-lgr02912.txt
``

Any ideas?

The -m pip install part implies it’s running a Python command yet somehow it’s invoking tutor instead of python (ie should be python -m pip install...
No idea why that’s happening unfortunately, but it’s definitely wrong. I’m unable to replicate on my side.

Did you activate your python venv before running any commands?

If you run tutor plugins list does deck show in the plugins list? if so then you don’t need to install deck but rather enable it with tutor plugins enable deck

1 Like

Adding to what Joel mentioned,

  • Ensure your virual environment is activated (if you are using it)
  • Make sure your plugin index is up-to-date (tutor plugins update)
  • Verify if the deck is already installed (tutor plugins list)

I have tested this locally, and I do not see the issue.

1 Like

PEBCAK… sorry, didn’t understand it (the implications) when I read it at the beginning “Note however that you will not be able to use custom plugins with this pre-compiled binary.“

For reference, that’s the error when you try and install with the binary version, not the venv version :-).

1 Like