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

ERROR: Could not build wheels for pySAM, which is required to install pyproject.toml-based projects #98

Open
FrederickGri opened this issue Jun 11, 2024 · 7 comments

Comments

@FrederickGri
Copy link

Please help me. I have tried to install gwaslab via pip install gwaslab but every time i tried this error message poped up

ERROR: Could not build wheels for pySAM, which is required to install pyproject.toml-based projects."

i have installed pySAM as i type pip install pySAM the terminal responded with

Requirement already satisfied: pysam in /opt/anaconda3/lib/python3.11/site-packages (0.22.1)

I am using python 3.11.7 and trying to install the newest version of gwas( gwaslab 3.4.45)
Can anyone please tells be what is wrong here?
Uploading Screenshot 2024-06-11 at 11.38.39 AM.png…

@FrederickGri
Copy link
Author

some body help, I am very desperate.
And I am using mac book pro 2019 sonoma 14.5

@Cloufield
Copy link
Owner

Hi,
Sorry for the error. Actually, I restricted Python version to 3.9 or 3.10 for gwaslab installation. Maybe "pip install gwaslab" without specifying versions just tries to install an outdated version of gwaslab if you are using other python versions. Could you please try "pip install gwaslab==3.4.45" in a python 3.9 or 3.10 environment?

FYI, there was a similar issue related to pySAM.

@FrederickGri
Copy link
Author

Thank you for responding in such extraodanary speed. yes I tried this way and another error message poped up

ERROR: Ignored the following versions that require a different python version: 3.4.25 Requires-Python <=3.9,>=3.8; 3.4.26 Requires-Python <=3.9,>=3.8; 3.4.27 Requires-Python <=3.9,>=3.8; 3.4.28 Requires-Python <=3.9,>=3.8; 3.4.29 Requires-Python <=3.9,>=3.8; 3.4.30 Requires-Python <=3.10,>=3.8; 3.4.31 Requires-Python <=3.10,>=3.8; 3.4.32 Requires-Python <=3.10,>=3.8; 3.4.33 Requires-Python <=3.10,>=3.8; 3.4.34 Requires-Python <=3.10,>=3.8; 3.4.35 Requires-Python <=3.10,>=3.8; 3.4.36 Requires-Python <=3.10,>=3.8; 3.4.37 Requires-Python <=3.10,>=3.9; 3.4.38 Requires-Python <=3.10,>=3.9; 3.4.39 Requires-Python <=3.10,>=3.9; 3.4.40 Requires-Python <=3.10,>=3.9; 3.4.41 Requires-Python <=3.10,>=3.9; 3.4.42 Requires-Python <=3.10,>=3.9; 3.4.43 Requires-Python <=3.10,>=3.9; 3.4.44 Requires-Python <=3.10,>=3.9; 3.4.45 Requires-Python <3.11,>=3.9
ERROR: Could not find a version that satisfies the requirement gwaslab==3.4.45 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9, 3.3.10, 3.3.11, 3.3.12, 3.3.13, 3.3.14, 3.3.15, 3.3.16, 3.3.17, 3.3.18, 3.3.19, 3.3.20, 3.3.21, 3.3.22, 3.3.23, 3.3.24, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.10, 3.4.11, 3.4.12, 3.4.13, 3.4.14, 3.4.15, 3.4.16, 3.4.17, 3.4.18, 3.4.19, 3.4.20, 3.4.21, 3.4.22, 3.4.23, 3.4.24)
ERROR: No matching distribution found for gwaslab==3.4.45

@Cloufield
Copy link
Owner

Looks like you are using another version of python. I am wondering if your python is 3.9 or 3.10?

@Cloufield
Copy link
Owner

For 3.11, I haven't tested it yet.
But if you want to have a try, you can install it with pip install --ignore-requires-python gwaslab==3.4.45.

@FrederickGri
Copy link
Author

I will try it now, thank you so much

@FrederickGri
Copy link
Author

It just worked, thank you so much. I have been stucked here for a while, you just saved my asses.

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

2 participants