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

Install issues #3

Open
f-amerehi opened this issue Oct 9, 2024 · 1 comment
Open

Install issues #3

f-amerehi opened this issue Oct 9, 2024 · 1 comment

Comments

@f-amerehi
Copy link

Hi @harshays @kristian-georgiev

When I wanted to install project I faced some issues, When I run

conda create --name ModelDiff python=3.10
conda activate ModelDiff
pip install -r requirements.txt

I get the following errors

ERROR: Ignored the following yanked versions: 1.11.0, 1.14.0rc1
ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement scipy==1.7.1 (from versions: 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.7.2, 1.7.3, 1.8.0rc1, 1.8.0rc2, 1.8.0rc3, 1.8.0rc4, 1.8.0, 1.8.1, 1.9.0rc1, 1.9.0rc2, 1.9.0rc3, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0rc1, 1.10.0rc2, 1.10.0, 1.10.1, 1.11.0rc1, 1.11.0rc2, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.12.0rc1, 1.12.0rc2, 1.12.0, 1.13.0rc1, 1.13.0, 1.13.1, 1.14.0rc2, 1.14.0, 1.14.1)
ERROR: No matching distribution found for scipy==1.7.1

I've tried python 3.8, 3.9, 3.10 and 3.11 and I've got similar and many errors but for different packages

Then I decided to change requirements.txt to

numpy
pandas==1.3.4
Pillow
scikit_learn
scipy
torch
torchmetrics
torchvision
tqdm
wilds
traker
matplotlib
seaborn

Note I added missing matplotlib and seaborn packages as well

After opening api_example.ipynb and running the second cell, I have the following error which indicates incompatibility with pandas

AttributeError: Can't get attribute '_unpickle_block' on <module 'pandas._libs.internals' from '/home/fatemah/.local/lib/python3.8/site-packages/pandas/_libs/internals.cpython-38-x86_64-linux-gnu.so'>****

How can I overcome the problem?

@f-amerehi
Copy link
Author

I've also tested the latest version of pandas as well but to no avail

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

1 participant