failed to install pyfasttext on python3.6
Opened this issue · 4 comments
I tried multiple times to install pyfasttext but failed though cysignals has been installed. Any insights/suggestions are highly appreciated.
Here is the error message.
python3.6/site-packages/cysignals/signals.pxd: cannot find cimported module 'cysignals.init'
Compiling src/pyfasttext.pyx because it changed.
Here is partial display of /Users/anyuhang/mypy3/lib/python3.6/site-packages/cysignals/signals.pxd
cython: preliminary_late_includes_cy28=True
Auto-generated file setting the correct include directories
cimport cysignals.init
from libc.signal cimport sig_atomic_t
cdef extern from "struct_signals.h":
ctypedef struct cysigs_t:
sig_atomic_t sig_on_count
const char* s
........
Same here. Installing cysignals version 1.6.9 fixed this for me
thanks so much for the tip! it works for me. really appreciate it.
Cysignals 1.7.0 requires cython >= 0.28, so installing the latest versions of cython and cysignals before installing pyfasttext would work too.
pip install --upgrade cython
pip install --upgrade cysignals
pip install pyfasttext
really appreciate insights you shared, I believe it will benefit a lot of people who may encounter the problem.