I'm not sure if this is normal or something is wrong. In any case, when I try to create word embeddings with dl-words.py I get the following issue:
Traceback (most recent call last):
File "dl-words.py", line 27, in
from deepnl.extractors import *
File "build/bdist.macosx-10.9-intel/egg/deepnl/extractors.py", line 7, in
File "build/bdist.macosx-10.9-intel/egg/deepnl/extractors.py", line 6, in bootstrap
File "deepnl/extractors.pyx", line 27, in init deepnl.extractors (deepnl/extractors.cpp:25639)
File "/Users/felicialiu/mscproject/mscenv/lib/python2.7/site-packages/deepnl-1.3.17-py2.7-macosx-10.9-intel.egg/deepnl/embeddings.py", line 11
SyntaxError: from __future__ imports must occur at the beginning of the file
I can only access the embeddings.py that's in my folder, but I can't access the one that is in the virtual environment and edit it. How to fix this problem?
I believe I installed everything according to the README, except when I run
I get
I'm not sure if this is normal or something is wrong. In any case, when I try to create word embeddings with dl-words.py I get the following issue:
I can only access the embeddings.py that's in my folder, but I can't access the one that is in the virtual environment and edit it. How to fix this problem?