Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

ImportError: No module named corpus_cython #80

Open
IWhisper opened this issue Mar 4, 2016 · 1 comment
Open

ImportError: No module named corpus_cython #80

IWhisper opened this issue Mar 4, 2016 · 1 comment

Comments

@IWhisper
Copy link

IWhisper commented Mar 4, 2016

File "/Users/i/Documents/twitter/sunny-side-up/glove/corpus.py", line 11, in
from corpus_cython import construct_cooccurrence_matrix
ImportError: No module named corpus_cython

Is there any missing file?

Thanks

update: I think the problem is caused by cython. Mac OSX 10.11 does not have the suitable gcc version to compile cython files.

@kfoss
Copy link
Contributor

kfoss commented Mar 16, 2016

Your best bet is to run everything within the project's Docker containers. For this issue, you'll want to build and run frameworks/docker/sentiment-ml since that contains all the necessary NLP (including GloVe) libraries. Within that folder, the accompanying 1-build.sh and 2-run.sh scripts will build and run the containers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants