-
Notifications
You must be signed in to change notification settings - Fork 120
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
metadata-generation-failed #390
Comments
Thank you for submitting your first issue to p5py |
Hi, can you share the steps that produced this? Did this happen while you were trying to install the library? |
Hi @tushar5526 |
I tried installing p5 from the source and it was installed properly. Can you try upgrading the pip and reinstalling everything in a fresh virtual environment? |
I have the same issue. I upgraded everything (pip included) and always metadata error. |
There seems to be some installation problem with numpy. Try installing the dependencies manually, more specifically, try this.
|
I have numpy installed on my computer |
https://github.com/p5py/p5/blob/master/docs/install.rst |
Can you try installing everything in a fresh python virtual environment? |
Hi, you have to set up VS code to use the new virtual environment that you have created. It's generally Ctrl + Shift + P -> Select Python interpreter -> select your virtual environment. You can also google how to select your virtual environment in vscode. I will also recommend trying the new 2D renderer skia for better performance.
|
@tushar5526 |
I was able to reproduce this issue on windows using Python 3.10 installing from pypi. Installing directly from the latest source code resolved the numpy issue, but installation for pyopengl-accelerate was failing. I wasn't able to resolve this by tweaking the versions in the requirements.txt, so I manually downloaded wheels files and installed them using the instructions here: https://stackoverflow.com/questions/59725675/need-to-install-pyopengl-windows. |
You could try installing from the source and using python versions >= 3.7 and <= 3.9, by the time we fix it for 3.10 |
It seems, pyopengl accelerate does not support 3.10 for Linux as of now. We would have to wait for them to fix it. If someone still wants to use python 3.10 for some reason, they could use the workaround mentioned here mcfletch/pyopengl#74 (comment), else we will recommend sticking to python versions from 3.7 to 3.9 |
For me, it doesn't work with python 3.9 and 3.10. 3.8 is ok. |
#398 would fix this |
Closing this by #398 |
Describe the bug
Error when generating metadata on this step(Preparing metadata (pyproject.toml) did not run successfully.)
To Reproduce
Steps to reproduce the behavior (if applicable)
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
System information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: