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

Issues running the setup.sh script #1

Closed
ramakris opened this issue Aug 19, 2024 · 4 comments
Closed

Issues running the setup.sh script #1

ramakris opened this issue Aug 19, 2024 · 4 comments

Comments

@ramakris
Copy link

Describe the bug
A clear and concise description of what the bug is.
I am a Red Hat Employee
So I spun of a OpenShift AI AWS cluster from the demo site (demo.redhat.com) and logged into the bastion host and ran the script setup.sh

Here are the errors I ran into

WARNING: Discarding https://files.pythonhosted.org/packages/6c/f6/215ba9e8d2587755df363170e3be54892b087bad0a99935fe456f7555255/onnx-1.13.0.tar.gz#sha256=410b39950367857f97b65093681fe2495a2e23d63777a8aceaf96c56a16d166e (from https://pypi.org/simple/onnx/). Command errored out with exit status 1: /home/lab-user/deployment/venv/bin/python3 /home/lab-user/deployment/venv/lib64/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpvab2pair Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: /home/lab-user/deployment/venv/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xdikwbkp/onnx_5e6c2f4a20ae45668334b8a0fb6248a6/setup.py'"'"'; file='"'"'/tmp/pip-install-xdikwbkp/onnx_5e6c2f4a20ae45668334b8a0fb6248a6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-wcfcedpe
cwd: /tmp/pip-install-xdikwbkp/onnx_5e6c2f4a20ae45668334b8a0fb6248a6/
Complete output (6 lines):
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-xdikwbkp/onnx_5e6c2f4a20ae45668334b8a0fb6248a6/setup.py", line 81, in
assert CMAKE, "Could not find cmake executable!"
AssertionError: Could not find cmake executable!

WARNING: Discarding https://files.pythonhosted.org/packages/2c/6a/39b0580858589a67c3322aabc2634f158391ffbf98fa410127533e7f1495/onnx-1.12.0.tar.gz#sha256=13b3e77d27523b9dbf4f30dfc9c959455859d5e34e921c44f712d69b8369eff9 (from https://pypi.org/simple/onnx/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Cannot install numpy and numpy==1.23.* because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Run the following:

activate python virtual env (bash)

source venv/bin/activate

blastoff w/ jupyter

jupyter-lab

@jayachristina
Copy link
Member

Hi
Which pattern are you referring to here please?

@ramakris
Copy link
Author

ramakris commented Aug 20, 2024 via email

@jayachristina
Copy link
Member

@gmidha1 can you please check this one out? thank you :)

@gmidha1
Copy link

gmidha1 commented Aug 20, 2024

@ramakris , let us connect over slack. I already pinged you there.

@gmidha1 gmidha1 closed this as completed Sep 11, 2024
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

No branches or pull requests

3 participants