Error: invalid command ‘bdist_wheel’

This is a common problem that I have seen while building a wheel in python. Mostly this is the case because wheel is not a standard python library distributed with python.


(django) (base) C:\Users\sukhbinder\Desktop\PROJECTS\exp>python build bdist_wheel
usage: [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: --help [cmd1 cmd2 ...]
   or: --help-commands
   or: cmd --help

error: invalid command 'bdist_wheel'


(django) (base) C:\Users\sukhbinder\Desktop\PROJECTS\exp>pip install wheel
Collecting wheel
  Using cached
Installing collected packages: wheel
Successfully installed wheel-0.36.2

That’s it. Install wheel from pypi.

Pair this with these posts.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s