close

[Solved] How to fix `error: invalid command ‘bdist_wheel’`?

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error How to fix error: invalid command 'bdist_wheel'? in Python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How to fix error: invalid command 'bdist_wheel' Error Occurs?

Today I get the following error How to fix error: invalid command 'bdist_wheel'? in Python.

How To Solve How to fix error: invalid command 'bdist_wheel' Error ?

  1. How To Solve How to fix error: invalid command 'bdist_wheel'? Error ?

    To Solve How to fix error: invalid command 'bdist_wheel' Error I did apt-get install python3-dev in my Ubuntu and added setup_requires=["wheel"] in setup.py

  2. How to fix error: invalid command 'bdist_wheel'?

    To Solve How to fix error: invalid command 'bdist_wheel' Error I did apt-get install python3-dev in my Ubuntu and added setup_requires=["wheel"] in setup.py

Solution 1

Had to install the wheel package. Everything was up to date but still giving the error.

pip install wheel

then

python setup.py bdist_wheel 

Worked without issues.

Solution 2

I did apt-get install python3-dev in my Ubuntu and added setup_requires=["wheel"] in setup.py

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also Read

Leave a Comment