You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to install Homolig on my working computer. I have encountered several installation issues since the last update.
I tried both the Docker file and pip. I figured out pip one but somehow could not build the Docker image.
For Docker, numpy did not installed correctly with python 3.11, so I changed the Dockerfile to use python:3.10. However, there was a conflict with numba:
88.62 Processing pynndescent-0.5.13-py3-none-any.whl
88.62 Installing pynndescent-0.5.13-py3-none-any.whl to /usr/local/lib/python3.10/site-packages
88.64 Adding pynndescent 0.5.13 to easy-install.pth file
88.64
88.64 Installed /usr/local/lib/python3.10/site-packages/pynndescent-0.5.13-py3.10.egg
88.64 error: numpy 1.22.4 is installed but numpy<2.2,>=1.24 is required by {'numba'}
------
Dockerfile:10
--------------------
8 | RUN pip install --upgrade pip
9 |
10 | >>> RUN python ./setup.py install
11 | # Docker build -t garywang7/homolig:1.0.0 .
--------------------
ERROR: failed to solve: process "/bin/sh -c python ./setup.py install" did not complete successfully: exit code: 1
For pip, I think there is again an issue with Python 3.12.4 that I was using:
File "/tmp/pip-build-env-2qnbho8f/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-2qnbho8f/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-2qnbho8f/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 55, in <module>
File "<string>", line 52, in _guard_py_ver
RuntimeError: Cannot install on Python version 3.12.4; only versions >=3.7,<3.11 are supported.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The issue was resolved after I created a conda environment with python=3.10 and ran pip install again. The test-code also ran properly after installation. It would be best if python version is specified somewhere in the instructions.
Hi Alex,
I have been trying to install Homolig on my working computer. I have encountered several installation issues since the last update.
I tried both the Docker file and pip. I figured out pip one but somehow could not build the Docker image.
For Docker, numpy did not installed correctly with python 3.11, so I changed the Dockerfile to use python:3.10. However, there was a conflict with numba:
For pip, I think there is again an issue with Python 3.12.4 that I was using:
The issue was resolved after I created a conda environment with python=3.10 and ran pip install again. The test-code also ran properly after installation. It would be best if python version is specified somewhere in the instructions.
My machine:
Thank you so much!
Gary
The text was updated successfully, but these errors were encountered: