cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

build failed

jg
New Contributor

hi everyone.
I'm trying to deploy my first databricks project. 
getting this error when I try to deploy with the command databricks bundle deploy

$ Building my_project...
Error: build failed my_project, error: exit status 1, output: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: invalid command 'bdist_wheel'

any idea how to fix it?

1 REPLY 1

Brahmareddy
Valued Contributor III

Hi @jg, How are you doing today?

Try installing the wheel package with pip install wheel to resolve the missing bdist_wheel command. Make sure your environment has setuptools and wheel installed and up-to-date by running pip install --upgrade setuptools wheel. Check your setup.py configuration to ensure everything is correctly set up for building the project. After these steps, try rebuilding and deploying your project again. If problems persist, consider using a virtual environment to avoid conflicts.

Give a try and let me know if it works.

Regards,

Brahma

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group