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

Package cannot be installed with Python 3.11 #176

Open
jpattee opened this issue Nov 30, 2022 · 5 comments
Open

Package cannot be installed with Python 3.11 #176

jpattee opened this issue Nov 30, 2022 · 5 comments

Comments

@jpattee
Copy link

jpattee commented Nov 30, 2022

When attempting to install via 'pip install pecanpy' on a mac, I receive the following error: " RuntimeError: Cannot install on Python version 3.11.0; only versions >=3.7,<3.11 are supported." Will this package be made compatible with Python 3.11, or should I revert to an older version?

@RemyLau
Copy link
Contributor

RemyLau commented Dec 5, 2022

Hi @jpattee, thank you for your interest in using PecanPy! Sorry about the late response.

I have not tested the compatibility with Python 3.11 yet. My impression is that the core packages such as Numpy and Numba do not support Python 3.11 just yet. For now, you might have to use a slightly older version of Python, say Python 3.10, to run PecanPy. I will test the compatibility these two days and keep you posted on that.

@RemyLau
Copy link
Contributor

RemyLau commented Jan 14, 2023

There are currently two sources of incompatibility with Python 3.11:

Since Python 3.11 support for numba has been included in their v0.57RC milestone, we can expect this to be done pretty soon! By then, I will do further testing with Python 3.11.

@sxwebster
Copy link

sxwebster commented Jan 15, 2023

Since Python 3.11 support for numpy has been included in their v0.57RC milestone, we can expect this to be done pretty soon!

Are you referring to Numpy, or another package? It's been entirely possible to install numpy on 3.11 using pip for some time now, both on Windows and *nix architecture. Not looking to nitpick, just seeking clarity for what I should be keeping an eye upon.

@RemyLau
Copy link
Contributor

RemyLau commented Jan 15, 2023

Thanks for the catch @sxwebster! Indeed, I meant numba. I have updated the comment above to fix this typo.

@sxwebster
Copy link

Thanks for the catch @sxwebster! Indeed, I meant numba. I have updated the comment above to fix this typo.

Awesome, thanks!

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

3 participants