Installing pyfrc error - invalid command bdist_wheel


#1
 
Running setup.py 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/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('
', '
');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.


#2

Based on stack overflow, did you try

pip install wheel

?


#3

I did -


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


#4

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


#5

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

Many thanks!