You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is quite frustrating now. I have spent numerous hours trying to fix the gcc issue when installing pyfasttext, when I noticed that it is a common error here. I fixed that. But now when I am trying to run my code I get the following error:
ImportError: dlopen(/anaconda3/envs/prometheus/lib/python3.6/site-packages/pyfasttext.cpython-36m-darwin.so, 2): Symbol not found: __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev Referenced from: /anaconda3/envs/prometheus/lib/python3.6/site-packages/pyfasttext.cpython-36m-darwin.so Expected in: flat namespace in /anaconda3/envs/prometheus/lib/python3.6/site-packages/pyfasttext.cpython-36m-darwin.so
and is caused by the first line here:
File "/anaconda3/envs/prometheus/lib/python3.6/site-packages/whatthelang/predict_lang.py", line 1, in <module> from pyfasttext import FastText
any ideas what the problem is here?
The text was updated successfully, but these errors were encountered:
@nazariyv can you create a new conda env and try to install cython first and then install pyfasttext. Also can you print the gcc version you are using.
Hi,
This is quite frustrating now. I have spent numerous hours trying to fix the gcc issue when installing pyfasttext, when I noticed that it is a common error here. I fixed that. But now when I am trying to run my code I get the following error:
ImportError: dlopen(/anaconda3/envs/prometheus/lib/python3.6/site-packages/pyfasttext.cpython-36m-darwin.so, 2): Symbol not found: __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev Referenced from: /anaconda3/envs/prometheus/lib/python3.6/site-packages/pyfasttext.cpython-36m-darwin.so Expected in: flat namespace in /anaconda3/envs/prometheus/lib/python3.6/site-packages/pyfasttext.cpython-36m-darwin.so
and is caused by the first line here:
File "/anaconda3/envs/prometheus/lib/python3.6/site-packages/whatthelang/predict_lang.py", line 1, in <module> from pyfasttext import FastText
any ideas what the problem is here?
The text was updated successfully, but these errors were encountered: