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

ImportError: No module named six #16

Open
CygnusBell opened this issue Jun 23, 2018 · 1 comment
Open

ImportError: No module named six #16

CygnusBell opened this issue Jun 23, 2018 · 1 comment

Comments

@CygnusBell
Copy link

Greetings,

I am having a great deal of trouble getting started with spacy-nlp.

I keep getting the following message:

"node_modules/spacy-nlp/src/client.py", line 10, in
[Fri Jun 22 2018 22:20:42 GMT-0700 (PDT)] ERROR import six
ImportError: No module named six"

I have installed, uninstalled and reinstalled six using pip, but still no dice.

I wonder if the error could be connected to the fact that my computer (mac os x) came with Python on it, so when I installed Python 3.6 I have had to specify it specifically since there are two versions on the same computer.

For instance "Python3.6 -m pip install six"

I notice it says...

INFO Starting socketIO client for python at 6466

When I run "node spacyserver.js". Do I need to specify to use version 3 somewhere? How would I do that?

Thanks so much! I'm at my wit's end trying to get an NLP to function on my computer.

@jeffreyflynt
Copy link
Contributor

jeffreyflynt commented Jun 30, 2018

In src/start-io.js the python version is set to python3.

You can symlink python3 to python3.6 by running this command:
ln -s /usr/local/bin/python3.6 /usr/local/bin/python3

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