Fix: error: invalid command bdist_wheel - Python


Error:
error: invalid command 'bdist_wheel'

The reason for this error is that you do not have the module wheel installed on your device. You will need to make use of pip/pip3 installer to get it installed before using it.

Fix:
pip install wheel 

or,

pip3 install wheel 

Validate installation:
pip show wheel         
Name: wheel
Version: 0.40.0
Summary: A built-package format for Python
Home-page: 
Author: 
Author-email: Daniel Holth <dholth@fastmail.fm>
License: 
Location: /opt/homebrew/lib/python3.11/site-packages

Try to run your Python program, setup or script again and you should not see this error again.

-

Facing issues? Have Questions? Post them here! I am happy to answer!


Author Info:

Rakesh is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

Copyright © Code2care 2023 | Privacy Policy | About Us | Contact Us | Sitemap