Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python setup.py install error #423

Open
zscwind opened this issue Mar 18, 2023 · 2 comments
Open

python setup.py install error #423

zscwind opened this issue Mar 18, 2023 · 2 comments

Comments

@zscwind
Copy link

zscwind commented Mar 18, 2023

No description provided.

@zscwind
Copy link
Author

zscwind commented Mar 18, 2023

I am trying install kenlm as follows:
mkdir build
cd build
cmake ..
make
python setup.py install
the compilation and make is ok, but I run python setup.py install,the following error appears:

image
image
image

@zscwind zscwind changed the title libkenlm.so python setup.py install error Mar 18, 2023
@zscwind
Copy link
Author

zscwind commented Mar 18, 2023

Sove method: recopile with -fPIC

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

No branches or pull requests

1 participant