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

Requirements.txt - wrong versions #13

Open
Anejz opened this issue Jan 18, 2024 · 5 comments
Open

Requirements.txt - wrong versions #13

Anejz opened this issue Jan 18, 2024 · 5 comments

Comments

@Anejz
Copy link

Anejz commented Jan 18, 2024

I have python 3.10.9 installed but in the requirements.txt files there are dependencies that require a different version of python. I am getting this error:

ERROR: Could not find a version that satisfies the requirement jaxlib==0.4.6 (from versions: 0.4.13, 0.4.14, 0.4.16, 0.4.17, 0.4.18, 0.4.19, 0.4.20, 0.4.21, 0.4.22, 0.4.23)      
ERROR: No matching distribution found for jaxlib==0.4.6

And if I change the version there are more wrong versions that trigger an error after that.
Should I use a different version of Python or manually configure the versions according to errors?

@p-i-
Copy link

p-i- commented Jan 19, 2024

(Ubuntu 20.04) Using conda create -n geom python=3.10 I get python 3.10.13 and pip install -r requirements.txt works.

@Chirann
Copy link

Chirann commented Jan 19, 2024

I've got the same error when I'm installing requirements under python 3.10.13.

@Westlifers
Copy link

I think this may be caused by the fact that jaxlib doesn't support Windows until version 0.4.13?(check here) I'm on Windows and tried several versions of Python, all failed at this step. Manually install higher version and delete jaxlib from requirements.txt may help you. (However there are more version problems than I expected and I haven't fixed them all, maybe just switch to linux is the best way)

@Landau1994
Copy link

This is my installation step in wsl2. You can trys this. I already create conda envrionment python==3.10.9

install required package

This is following the guidence of the auothor,but you need install the following packages first

# download from pypi

pip install /mnt/d/tmp/tfds_nightly-4.9.2.dev202308090034-py3-none-any.whl

pip install /mnt/d/tmp/seqio_nightly-0.0.17.dev20231013-py3-none-any.whl

# install from git directory

pip install --require-hashes -r requirements.txt

enalbe gpu

install cuda in conda environment

This is required for tensorflow and jax

conda install cuda -c nvidia/label/cuda-11.8.0

conda install -c conda-forge cudnn=8.4.1

pip install nvidia-cudnn-cu11==8.6.0.163

export LD_LIBRARY_PATH

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wlt2023/anaconda3/envs/alphageometry/lib:/home/wlt2023/anaconda3/envs/alphageometry/lib/python3.10/site-packages/nvidia/cudnn/lib

Then install

install jaxlib

First

pip install jax==0.4.6 jaxlib==0.4.6 orbax-checkpoint

Then choose the correct jaxlib from https://storage.googleapis.com/jax-releases/jax_cuda_releases.html, and donwload the correct version of jaxlib

pip install /mnt/d/tmp/jaxlib-0.4.6+cuda11.cudnn82-cp310-cp310-manylinux2014_x86_64.whl

run

you should add this to avoid matplotlib error

export DISPLAY=:0

@tpgh24
Copy link

tpgh24 commented Apr 27, 2024

I had the same issue and found a workaround by using --no-deps option. I made some improvements in a fork repository and have some ideas to further improve the performance of AlphaGeometry, check out AG4Masses and issue 110. It has detailed instruction on set up.

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

6 participants