Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issue #198

Closed
mg-databricks opened this issue Sep 14, 2023 · 0 comments · Fixed by #201
Closed

Installation Issue #198

mg-databricks opened this issue Sep 14, 2023 · 0 comments · Fixed by #201

Comments

@mg-databricks
Copy link

I am following these steps and get an error message:

mehran.golestaneh@F50Q0VJ4WM ucx-main % git clone https://github.com/databricks/ucx.git
Cloning into 'ucx'...
Username for 'https://github.com': mg-databricks
Password for 'https://mg-databricks@github.com':
remote: Enumerating objects: 2100, done.
remote: Counting objects: 100% (942/942), done.
remote: Compressing objects: 100% (498/498), done.
remote: Total 2100 (delta 654), reused 491 (delta 439), pack-reused 1158
Receiving objects: 100% (2100/2100), 8.56 MiB | 7.48 MiB/s, done.
Resolving deltas: 100% (1047/1047), done.
mehran.golestaneh@F50Q0VJ4WM ucx-main % cd /Users/mehran.golestaneh/Downloads/ucx-main/ucx
mehran.golestaneh@F50Q0VJ4WM ucx % ls
CODEOWNERS LICENSE NOTICE USAGE.md examples notebooks src
CONTRIBUTING.md Makefile README.md docs install.sh pyproject.toml tests

mehran.golestaneh@F50Q0VJ4WM ucx % export DATABRICKS_CONFIG_PROFILE=ABC
./install.sh
[i] found Python 3.9.6 -> /usr/bin/python3
[i] latest python is /usr/bin/python3
[+] installing dependencies within ephemeral Virtualenv: /var/folders/qd/8k4t20c9593_c05dv4mbrpx40000gp/T/tmp.jFw2rt3z
ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /Users/mehran.golestaneh/Downloads/ucx-main/ucx
(A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)
WARNING: You are using pip version 21.2.4; however, version 23.2.1 is available.
You should consider upgrading via the '/private/var/folders/qd/8k4t20c9593_c05dv4mbrpx40000gp/T/tmp.jFw2rt3z/bin/python -m pip install --upgrade pip' command.
/private/var/folders/qd/8k4t20c9593_c05dv4mbrpx40000gp/T/tmp.jFw2rt3z/bin/python: Error while finding module specification for 'databricks.labs.ucx.install' (ModuleNotFoundError: No module named 'databricks')
mehran.golestaneh@F50Q0VJ4WM ucx %

nfx added a commit that referenced this issue Sep 15, 2023
@nfx nfx closed this as completed in #201 Sep 15, 2023
nfx added a commit that referenced this issue Sep 15, 2023
This is an attempt to fix #198 by using the latest pip:

```
[+] installing dependencies within ephemeral Virtualenv: /var/folders/qd/8k4t20c9593_c05dv4mbrpx40000gp/T/tmp.dQz0ZxQ5
ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /Users/$USER/Documents/ucx
(A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)


WARNING: You are using pip version 21.2.4; however, version 23.2.1 is available.
You should consider upgrading via the '/private/var/folders/qd/8k4t20c9593_c05dv4mbrpx40000gp/T/tmp.dQz0ZxQ5/bin/python -m pip install --upgrade pip' command.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant