asc icon indicating copy to clipboard operation
asc copied to clipboard

ImportError in Python version: ImportError: /usr/local/lib/python3.6/site-packages/asc.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN5anyks3Idw4NIDWE

Open 32r81b opened this issue 3 years ago • 4 comments

You may repeat after me using docker image:

docker run -it python:3.6 bash python3 -m pip install pybind11 python3 -m pip install anyks-sc

All steps finished withot errors.

Check installed libs: image

Try import asc: image

32r81b avatar Dec 11 '21 09:12 32r81b

Good day! This is not the same library, similar in name and the python interpreter confuses them.

Perhaps this is an old version of the library. Try uninstalling the old version and building again.

anyks avatar Dec 11 '21 10:12 anyks

Thank you, for your respond. What actually I have to do?

pip uninstall anyks-sc pip install anyks-sc

Or I need to build anyks from git repository?

git clone --recursive https://github.com/anyks/asc.git mkdir ./build cd ./build cmake .. make

32r81b avatar Dec 12 '21 11:12 32r81b

If you need a python version, the build is done via pip only. Building from the repository only for the standalone application.

anyks avatar Dec 12 '21 15:12 anyks

Thank you, for your respond. What actually I have to do?

pip uninstall anyks-sc pip install anyks-sc

Yes, everything is relevant, under Linux and FreeBSD everything should be assembled correctly, I checked it on all current distributions. If the package compiled, then it should work.

anyks avatar Dec 12 '21 15:12 anyks