-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
[bug] Error Python9 TypeObject has no member named 'tp_print' #17937
Comments
@noelmcloughlin this does not look like a NumPy issue. Instead it appears that your cython version is incompatible with Python 3.9, you probably should update cython and all is fine. It is possible that NumPy could check cython for a new enough version, but not sure. |
Looks like it is gone in 3.9 and the slot reused for |
My error reports the latest Cython is cached. My work around is to remove" |
It is happening for me, using python 3.9 in a completely clean new virtualenv. It seems, as mentioned, it is because the change from |
I am still confused by this. Are you installing from source? In that case, maybe try a |
I am sorry, I was trying to install a previous version of numpy. Current version installs ok with python 3.9. It is ok now. |
Thanks for the followup, will close the issue then. |
While installing Apache Airflow on Archlinux I see what looks like a Numby error. Python is version 3.9. I have not seen this error on Ubuntu 18, Centos7, Suse15.2 but they have older python versions (probably).
While searching, I found two CI jobs reporting the same error - see:
https://www.travis-ci.com/github/Unidata/MetPy/jobs/317424801
https://gitlab.sauerburger.com/frank/sortednp/-/jobs/53004
Error message:
Here is my error from "archlinux/archlinux" Vagrant box.
NumPy/Python version information:
I can install the pip package.
Here is some version information
The text was updated successfully, but these errors were encountered: