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: 

Error deploying a DAB

raghu2
New Contributor III

I followed steps listed in this article.

After creating and validation of bundle with default template, during deployment using this command:

databricks bundle deploy -t dev --profile zz

I get this message:

Building mySecPrj...
Error: build failed mySecPrj, 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'

How do I resolve this? Appreciate any guidance.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

daniel_sahal
Esteemed Contributor

@raghu2 

Try running

pip3 install --upgrade wheel setuptools

View solution in original post

5 REPLIES 5

daniel_sahal
Esteemed Contributor

@raghu2 

Try running

pip3 install --upgrade wheel setuptools

raghu2
New Contributor III

Thanks @daniel_sahal. That worked!!

ADB0513
New Contributor III

@daniel_sahal I am receiving the same error and tried your solution and am still getting the invalid command bdist_wheel.  Any other suggestions?  Thanks

You can try to upgrade pip:

py -m pip install --upgrade pip

And then once again

py -3 -m pip install wheel

Thanks @szymon_dybczak , but I've tried that and still get the error.

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