-
Notifications
You must be signed in to change notification settings - Fork 28
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
ImportError: libdynamicedt3d.so.1.8 #1
Comments
It is working on the Travis: https://travis-ci.com/wkentaro/octomap-python. |
Hi wkentaro, |
It's strange, since these dynamic link libraries should be installed via pip.
|
I have the same issue on macOS Mojave 10.14.6 Installing octomap beforehand did not fix it for me either. |
Please put the output of |
Thank you for the quick response.
Error log:
|
It seems dylib is properly installed. Maybe linking fails. |
FYI: If you are in a rush, you can run |
Output of
What might be of interest is, that when I go to uninstall via pip, it shows the following list of file locations. Maybe this is just an issue with conda environments? I.e. the binary is not searching in the right spot?
|
I think the problem is that the dylib file paths are absolute. It should be relative or something like In Ubuntu + Anaconda, it shows like below
but lib is installed
so it works.
|
I will work on fixing this, but for short-term you need to use |
Thank you! |
The binary files (e.g., octomap..so, liboctomap..so) are compiled and installed automatically. you just need to run with the options I told. |
Thanks! Sadly, for me, this leads to the same error. The library again isn't found (and searched for in the same temp directory). :( |
Oh, really. Maybe you need to wait until I solve this |
Has the binary issue being solved? |
Sadly me too. |
i was able to fix this by adding the path to the .so to LD_LIBRARY_PATH |
I am having the same issue on macOS Catalina. @LucasBruder can you be more specific?
|
Something like the below might work, although I've never tried this on OSX
|
Thank you for your answer. However, it still does not work. I could not install the library as I get back to that image not found error every way I try |
Let me have a look. |
Do you need any info? Thank you |
Below command should work in the wild git clone https://github.com/wkentaro/octomap-python.git
cd octomap-python
wget https://raw.githubusercontent.com/wkentaro/dotfiles/master/local/bin/install_anaconda3.sh
bash ./install_anaconda3.sh .
source .anaconda3/bin/activate
pip install -e .
cd examples
python -c 'import octomap'
./insertPointCloud.py
./getLabels.py |
I have been able to create "fixed" manylinux wheel following the instructions at How to include external library with python wheel package using the mentioned auditwheel tool. |
The whl package was fixed to include proper RPATH. For details see wkentaro/octomap-python#1 (comment) To run the included example install also the follwing packages: pip install glooye imgviz trimesh scipy networkx
Feel free to try the fixed package: |
Hello @wkentaro,
I already installed libdynamicedt3d separately on my PC (using apt-get), but the version is 1.9. Is it possible to use this package with the 1.9 version of libdynamicedt? Or, I should use the 1.8 version? Do you know how I can install this lib on 1.8 version? |
Thanks for your work - Is it possible to create such package for other python versions (3.8+), too? |
had to add
|
I think this has something to do with the current version of the octomap library that is added as a submodule to the repo. When I clone the repo with --recursive, i am able to import octomap, this is likely because when building the library without the local octomap submodule, the globally installed one is used, which in my case is the latest version of the octomap library. |
Hi,
I'm trying to install octomap with pip in a conda env and it turns out to be that import error.Is there anything else I should install?
ImportError: libdynamicedt3d.so.1.8: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: