-
-
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
Windows build and wheel #492
Conversation
to download pre-built wheels from rackspaces
Blocked by #470 Tests fail with "ValueError: Maximum allowed dimension exceeded" |
Python 2 builds. Python 3 Fails with "UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: invalid character". Can't find a file with non-Ascii name though. Regex search returns nothing:
|
The |
@gojomo Thanks a lot, that was the problem. Next step is Python3.5 on 64-bit windows
|
I've seen that error reported before by Windows users, and they found a workaround. (Maybe in old github issues or forum threads? I even think the But also, that error makes me suspicious as to whether that build is really 64-bit in all important ways. Could some 32-bit libraries/steps have snuck in, and the 'x64' in the name only reflects intent and not actuality? To really understand what's going wrong, I might also try unpacking that line into 3...
...to know exactly which one is triggering the error, and (with an extra print or catch) exactly what Python int value is breaking things. |
I guess that the built-in hash function returns more than uint32 number on a 64-bit platform. @gojomo Is there anything wrong with this hack from the mailing list?
Otherwise have to add a new dependency on hashlib. Duplicate of #321 ERROR: test_zero_workers_mode (gensim.test.test_word2vec.TestWord2VecModel)Traceback (most recent call last): |
Yes, the built-in hash function will give larger-than-32-bit numbers by design, and So, the core problem is We can do the range-clipping ourselves with a bit-mask like in that workaround. However, since allowing a user-defined
...to...
That eliminates the dependency on (That |
I'm not the best reporter to Numpy, since I can't directly reproduce... but I gave it a try at numpy/numpy#6637. (I've seen mentions that 64-bit Windows isn't officially supported by Numpy, so unsure how much attention it'll get.) |
Windows build is now green. Windows wheels coming soon! |
Great :) |
TODO: