Installing pyfrc error - invalid command bdist_wheel

Running bdist_wheel for pyfrc ... error
  Complete output from command /home/lhs/frc2018/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-wueumyy1/pyfrc/';f=getattr(tokenize, 'open', open)(__file__);'
', '
');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpn6s4rporpip-wheel- --python-tag cp36:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help
  error: invalid command 'bdist_wheel'

Admittedly this is in a virtual environment - don’t know if that has any bearing on it.

Based on stack overflow, did you try

pip install wheel


I did -

Requirement already satisfied: wheel in /usr/lib/python3/dist-packages

That’s finding a globally-installed version - your virtualenv most likely doesn’t reference global packages (which is good), so it’s not being picked up.

One of these two might help:

pip3 install wheel
python3 -m pip install wheel

The former, done in the virtual env seems to have done the trick.

Many thanks!