assimp icon indicating copy to clipboard operation
assimp copied to clipboard

raise AssimpError("assimp library not found")

Open liujf69 opened this issue 11 months ago • 1 comments

I followed the steps below to install pyassimp in Centos, but I got the following bug while importing pyassimp: image

git clone https://github.com/Microsoft/vcpkg.git
set(VCPKG_LIBRARY_LINKAGE dynamic)
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install assimp
pip install pyassimp

I tried copying the compiled dynamic library to the folder corresponding to helper.py, but the above error still occurred. image

I don't know how to install and use pyassimp correctly in centos system.

liujf69 avatar Mar 01 '24 08:03 liujf69

To fix this you can try to add the folder where your so file is located to the environment variable LD_LIBRARY_PATH by:

export LD_LIBRARY_PATH=<path_to_your_folder_with_assimp_so>

If this does not work you should check if the 64-bit version of assimp is installed:

file <your_assimp_so>

The output shall contain something like 64-bit so

Hope that will help you.

kimkulling avatar Mar 06 '24 22:03 kimkulling

No new post so I think this issue is not active any more.

kimkulling avatar Sep 13 '24 07:09 kimkulling