-
Notifications
You must be signed in to change notification settings - Fork 50
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
Issues installing via conda #397
Comments
Thanks for reporting this issue. I tried reproducing this in a clean, new environment, on an M2 Mac, but did not get any error:
Do you still get the same error if you use the above commands (i.e. creating a clean environment) ? |
I think, if I remember correctly what we found out later yesterday, the default conda installed python 3.12 which was too new for openPMD-viewer or openPMD-api. I can also confirm that with conda version @max-lehman14 installed it via the anaconda installer but installed the rest on the terminal (as described above). |
When using conda create -n test python instead of
I could recreate @max-lehman14 error. The error message reads:
The issue is definitely the python 3.12.0 version, that is installed when adding python (without a version) when creating the env. |
OK, thanks. I can reproduce the issue. With
|
I wonder if |
Hi there, Python 3.12 was just released and it will take a while until open-source distributions (PyPI, conda, etc.) have rolled out all dependencies for it. We got our migration PR for openPMD-api - it just came in today 🎉 so we should have packages for it in a few hrs: openPMD-viewer is a pure Python package, thus it should work once the openPMD-api buildstock has built the 3.12 packages and distributed them to the web (this also takes a few hours, because there is another layer of caching in content delivery networks for these binary packages that refreshes in regular intervals). Let me know if this works if you try again tomorrow / on Monday. Separately of conda, we will also need to roll out PyPI wheels for openPMD-api, in case you were wondering :)
No, that is just meta-data listed on PyPI as a category. Line 50 in b36dc43
It is best practice to keep it unconstrained for newer versions. |
@max-lehman14 @PrometheusPi I believe this problem is solved. Let me know if Python 3.12 now works for you as well and we can close this :) |
@ax3l sorry for the late reply. I can confirm that installing openPMD-viewer with python 3.12.0 works now fine (on MacOS). |
I freshly installed openPMD-viewer via conda in a clean environment on an M1 Mac
and get the following error:
The text was updated successfully, but these errors were encountered: