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

raise AssimpError("assimp library not found") #5481

Open
liujf69 opened this issue Mar 1, 2024 · 1 comment
Open

raise AssimpError("assimp library not found") #5481

liujf69 opened this issue Mar 1, 2024 · 1 comment
Labels
Bug Global flag to mark a deviation from expected behaviour pyassimp The Python Assimp port

Comments

@liujf69
Copy link

liujf69 commented Mar 1, 2024

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 liujf69 added the Bug Global flag to mark a deviation from expected behaviour label Mar 1, 2024
@kimkulling kimkulling added the pyassimp The Python Assimp port label Mar 6, 2024
@kimkulling
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Global flag to mark a deviation from expected behaviour pyassimp The Python Assimp port
Projects
Status: No status
Development

No branches or pull requests

2 participants