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

invalid syntax: print "positive: " + str(pos) + " negative: " + str(neg) + " topn: " + str(t) ^ #29

Open
tqphuc567 opened this issue Mar 30, 2020 · 1 comment

Comments

@tqphuc567
Copy link

I run command
python word2vec-api.py --model /path/to/GoogleNews-vectors-negative300.bin --binary BINARY --path /word2vec --host 0.0.0.0 --port 5000
and have error
File "D:/word2vec-api-master/word2vec-api-master/word2vec-api.py", line 60
print "positive: " + str(pos) + " negative: " + str(neg) + " topn: " + str(t)
^
SyntaxError: invalid syntax
Please help me fix the error

@Saulopv
Copy link

Saulopv commented Apr 10, 2020

What python version are you running?

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

2 participants