-
Notifications
You must be signed in to change notification settings - Fork 138
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: Failed building wheel for PySph #384
Comments
Please try pip install https://github.com/pypr/pysph/zipball/master or git clone https://github.com/pypr/pysph
cd pysph
pip install -r requirements.txt -r requirements-test.txt
python setup.py develop |
First off, thanks guys, great package! Unfortuntaly I think some dependencies may be a little out for the pypl version, and it doesnt like installing via pip. Trying to install pysph from source, I've done a bit of testing and have experienced some issues with newer versions of python (doesn't like numpy>=1.20). I installed with python 3.6, and could get dam_break_2d.py to run for a few timesteps before segmentation fault (unsure why). I've pasted the cli output below... not sure what the dependecy issues are, but would be useful to get this all to work.
|
Python 3.6 might be too old for now. Please try with Python 3.11. I skimmed your cli output and found that there are some openmp errors too. Please go through installation docs to learn more about the dependencies that you need to install using your distro's package manager, conda and pip. The GitHub actions runner is configured to install and test PySPH every week. You can also refer to the github actions configuration to see how the dependencies are installed. |
My bad I should have checked more thoroughly! Will try again at some point, but I appreciate the message. I did notice some tests were failing. Would that be an issue here? |
I found that So, |
May I ask how to solve the error message when using 'pip install PySph' to download the library:
“ERROR: Failed building wheel for PySph
Running setup.py clean for PySph
Failed to build PySph
ERROR: Could not build wheels for PySph, which is required to install pyproject.toml-based projects”
The text was updated successfully, but these errors were encountered: