-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
import gensim fails on Windows with numpy 1.19.5 #3095
Comments
Thanks for reporting @Bomme . How did you install Gensim 4.0.0? Probably related to the incompatible C API change in Numpy==1.20.0: numpy/numpy#16938. Previous discussion #3085 (comment) – using |
I installed it simply through: |
Hm. @mpenkov is it possible to tell which numpy was used to build the py3.8 Windows wheels? If the |
Yes, we can see from here that 1.20.1 was used.
|
Oh no :( So |
I've initiated the 4.0.1 release. Should be ready within an hour or so. |
Could also be a post release ( |
I've already made the appropriate commits and started building the wheels. If it's not critical, I'd prefer to release it as 4.0.1 in the next hour or so. If you have a strong preference for 4.0.0.post0, I'll deal with it tomorrow. |
No, not strong preference :) Thanks for the prompt re-release! |
I can confirm that gensim==4.0.1 and numpy~=1.19.5 seem to work together nicely! 🚀 |
Problem description
After I upgraded to gensim
4.0.0
from4.0.0beta
, I was no longer able to doimport gensim
(see numpy error message below). When I upgraded to numpy1.20.2
the problem was solved.Steps/code/corpus to reproduce
Versions
The text was updated successfully, but these errors were encountered: