kengz / spacy-nlp

Expose Spacy nlp text parsing to Nodejs (and other languages) via socketIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no module named "socketIO_client_nexus"

seeARMS opened this issue · comments

I'm getting the following error upon installation and startup:

File "/Users/colinarmstrong/src/memoryvue2/node_modules/spacy-nlp/src/client.py", line 13, in <module
    from socketIO_client_nexus import SocketIO, WebsocketTransport
ModuleNotFoundError: No module named 'socketIO_client_nexus'

Changing socketIO_client_nexus to socketIO_client fixes this.

Actually, changing to socketIO_client caused other issues. The actual fix is related to the install instructions: rather than python3 -m pip install -U socketIO-client you need to python3 -m pip install -U socketIO-client-nexus

I created a pull request to fix this (FYI @kengz) : #30

Merged the PR mentioned above