-
Notifications
You must be signed in to change notification settings - Fork 913
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
Errors trying to run under Python3 #124
Comments
For anyone else having the same problem, I got this working on Python3/numpy 1.19.5/ gensim 3.8.3/networkx 2.5/node2vec 0.4.3. As follows: Change print statements in word2vec.py to Python3 syntax (lines 46 and 48) Change main.py line 71 from
to
In both word2vec.py and base_any2vec.py (both in Python36/Lib/site-packages/gensim/models) change
to
Change line 90 of main.py from
to
|
this is helpful |
I have changed the print statements to the new syntax. Getting other errors though. Is there a Python3 version of this software?
The text was updated successfully, but these errors were encountered: