Share this article

This article is translated in

Improve this guide

Solved: Python Setup.py Bdist_Wheel Did Not Run Successfully

The reason could be missing dependencies

4 min. read

Updated onDecember 18, 2023

updated onDecember 18, 2023

Share this article

This article is translated in

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

If you have encountered a python setup.py bdist_wheel did not run successfully error during the wheel generation process, then this guide can help.

We will explore the common causes behind its unsuccessful execution and explore effective solutions to overcome the issue.

What causes this build failure?

How can I fix the python setup.py bdist_wheel did not run successfully error?

How can I fix the python setup.py bdist_wheel did not run successfully error?

Before performing any troubleshooting steps, ensure you have checked these things:

1. Install the cmake module

2. Check if you have wheel installed

3. Upgrade the version of PIP

Open Python or any compatible console, type the following command according to your conditions, and hitEnter:

Keeping the latest versions of PIP and Python installed can help you avoid a lot of issues such asPermission denied; read this guide to learn more.

4. Reinstall the packages

Open a terminal of your choice, then copy & paste the following commands one by one, and hitEnterafter every command:

5. Skip the wheel-building process

6. Add setup_requires condition to your file

If this doesn’t help, you need to add these lines to your setup.py file:

To conclude, the Python setup.py bdist_wheel did not run successfully issue occurs mainly due to missing dependencies and compliers or syntax errors in your script.

To fix the error, you need to ensure the Python version you are using is compatible with the package, check the script for errors, upgrade PIP, or install the CMake module.

If you are facing another error with Python, you can use theTry-except-printmethod; we have a separate guide on how to use it.

Speaking of errors, if you ever get stuck withPython runtime errors, then check the variables for issues and mathematical errors; read this guide to learn more.

Did we miss a step that helped you to fix this build error? Don’t hesitate to mention it in the comments section below. We will happily add it to the list.

Srishti Sisodia

Windows Software Expert

Srishti Sisodia is an electronics engineer and writer with a passion for technology. She has extensive experience exploring the latest technological advancements and sharing her insights through informative blogs.

Her diverse interests bring a unique perspective to her work, and she approaches everything with commitment, enthusiasm, and a willingness to learn. That’s why she’s part of Windows Report’s Reviewers team, always willing to share the real-life experience with any software or hardware product. She’s also specialized in Azure, cloud computing, and AI.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Srishti Sisodia

Windows Software Expert

She is an electronics engineer and writer with a passion for technology. Srishti is specialized in Azure, cloud computing, and AI.