Computer-Aided Drug Design at the Durrant Lab › Forums › Gypsum-DL › ImportError: libboost_python3.so.1.65.1 (SOLVED)
- This topic has 2 replies, 1 voice, and was last updated 4 years ago by Jacob Durrant.
- AuthorPosts
- September 29, 2020 at 12:02 pm #16310Iñigo Marcos-AlcaldeGuest
Hello,
I’ve just downloaded Gypsum-DL to check it out, but following the environment setup provided in the README.md file (conda install -c rdkit rdkit numpy scipy mpi4py) failed to work in this particular machine environment (Linux Mint 20 Ulyana without libboost-dev installed) with:
…
ImportError: libboost_python3.so.1.65.1: cannot open shared object file: No such file or directory
…
Exception: You need to install rdkit and its dependencies.
I am guessing that rdkit might dependency on the boost libraries cannot be solved in conda using the rdkit channel. I suppose that this could be solved by installing the libboost-dev package with apt-get, but that would defeat the purpose of creating an "standalone" conda environment capable of running Gypsum-DL regardless of Linux distro.
As indicated in the rdkit documentation, it turns out that rdkit can be installed using the conda-forge channel as well. Doing so, allows conda to satisfy the boost library dependency internally and creates an environment that is capable of running Gypsum-DL out of the box.
In case this is useful to anyone, the "recipe" to create and test such environment would be:
conda create -c conda-forge –name gypsum_dl_env rdkit numpy scipy mpi4py -y
conda activate gypsum_dl_envpython ./run_gypsum_dl.py –test
Thank you very much for all the hard work dedicated to create such a useful tool!
- September 30, 2020 at 10:46 am #16375Iñigo Marcos-AlcaldeGuest
Sorry for the double post. I’ve just seen that the format of my previous post has some weird formatting with varying font sizes, bold letters and pairs of short hyphens converted to long dashes. To be honest, I am not entirely sure about how I did this, it was supposed to be just plain text.
Anyway, I am pointing this out just because long dashes in the commands really are just two hyphens. Otherwise, those lines won’t work.
- December 5, 2020 at 4:38 am #20388Jacob DurrantKeymaster
Hi Iñigo! I meant to thank you for your very helpful tip. I updated the Gypsum-DL
README.md
file to mention your suggestion: https://git.durrantlab.pitt.edu/jdurrant/gypsum_dl#getting-startedTake care.
- AuthorPosts
- The topic ‘ImportError: libboost_python3.so.1.65.1 (SOLVED)’ is closed to new replies.