Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
Showing results for 
Search instead for 
Did you mean: 

UCX Installation Error

New Contributor

While downloading and installing ucx from a shell code,I am facing the below error. Can anyone provide a solution

[i] Creating isolated Virtualenv with Python: /c/Program Files/Python312/python
Actual environment location may have moved due to redirects, links or junctions.
  Requested location: "C:\Users\*******\AppData\Local\Temp\tmp.D43TLKwgCr\Scripts\python.exe"
  Actual location:    "C:\Users\******\AppData\Local\Temp\tmp.D43TLKwgCr\Scripts\python.exe"
[+] Upgrading pip within virtualenv
[+] Installing dependencies within virtualenv
ERROR: You must give at least one requirement to install (see "pip help install")
[+] Installing UCX using databricks.labs.ucx.install
C:\Users\****\AppData\Local\Temp\tmp.D43TLKwgCr\Scripts\python.exe: Error while finding module specification for 'databricks.labs.ucx.install' (ModuleNotFoundError: No module named 'databricks')


Community Manager
Community Manager

Hi @unity_Catalog

  • The error message suggests that you need to install a Python package.
  • To do this, open your terminal or command prompt and run:
    pip install databricks
    This should resolve the missing module issue.
  • Ensure that you are in the correct virtual environment where you intend to install UCX.
  • Verify that the Python interpreter you’re using matches the one specified in your virtual environment.

Before installing UCX, upgrade pip within your virtual environment:

pip install --upgrade pip
  • Once you’ve installed the required package and upgraded pip, try installing UCX again using:
pip install databricks.labs.ucx.install
Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!