Closed SaintLogos1234 closed 4 years ago
Please post full output as text, not a limited screenshot. Nonetheless, it looks like your bzip2 wasn't compiled with -fPIC
. Based on the path it looks like you compiled bzip2 yourself?
If you don't care about bzip2 support, comment out lines 41-43 of setup.py
.
Thank you very much. It seems that your suggestion is correct. After installing your suggestion, the modification has been successfully installed. At the same time, commenting out lines 41 to 43 to install, does it have a great impact on subsequent use? Finally, I am very sorry for the confusion caused by my non-standard questions
I install kenlm according to the following command: mkdir build cd build cmake .. make python setup.py install the compilation is successful, but I run python setup.py install,the following error appears, what is going on: How to resolve the above errors