-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
BUG: Unable to setup RocketPy using python 3.11 #265
Comments
Does anyone have any idea on how to solve it? |
I was able to reproduce the issue. It seems to me that both I don't have yet a temporary fix for the problem, it is likely that in the upcoming weeks they will launch the wheels for I believe that it is possible to circumvent this problem by building both packages from source, but I had some difficulties with package dependencies. |
Besides building both packages from source, which can be quite a challenge, especially on Windows, another solution that I have found is by relying on @conda-forge. Conda-forge has already started the effort to support Python 3.11, and the status of the migration can be followed through this dedicated page: https://conda-forge.org/status/#python311 Both Here is a recipe of how to do it:
Should work on any OS. |
Update: it seems now that I was able to |
Yeah finally!! |
Today I tried to install rocketpy and I realized it still fails running I have tested it on Fedora, Debian and Alpine linux distributions using Python 3.11 and none of them worked. The installation attempt logs are reproduced below: Fedora 38 Workstation:
Debian Bulseye:
Alpine 3.18:
|
Many thanks @Lucas-KB for pointing that out. Could you please try to build rocketpy again using the |
RocketPy has been running flawlessly on Python 3.11 for the past few months. Let's see what happens with the recent Python 3.12 release. |
Describe the bug
When used the most recent python 3.11 version, rocketpy cannot be properly installed, it seems that the interpreter is currently having issues when installing the netCDF4 library. More specifically, a
error: metadata-generation-failed
is raised.To Reproduce
Initialize a fresh environment of python and ensure you are using python 3.11.0 version.
Expected behavior
I want to see something like this on my terminal after setting up rocketpy package:
Successfully installed certifi-2022.9.24 cffi-1.15.1 cftime-1.6.2 charset-normalizer-2.1.1 contourpy-1.0.6 cycler-0.11.0 fonttools-4.38.0 h3-3.7.4 idna-3.4 jsonpickle-2.2.0 kiwisolver-1.4.4 matplotlib-3.6.1 netCDF4-1.6.1 numpy-1.23.4 packaging-21.3 pillow-9.3.0 pycparser-2.21 pyparsing-3.0.9 python-dateutil-2.8.2 pytz-2022.6 requests-2.28.1 rocketpy-0.12.0 scipy-1.9.3 setuptools-65.5.0 simplekml-1.3.6 six-1.16.0 timezonefinder-6.1.6 urllib3-1.26.12 windrose-1.8.0
Screenshots
Trying to install rocketpy with python 3.11:
Now, when trying on python 3.10:
The text was updated successfully, but these errors were encountered: