labdao/diffdock

No rule to make target /opt/conda/lib/libpython3.10.so, needed by lib/_openbabel.so

Opened this issue · 1 comments

I just cloned your pretty well-structured repo and tried to build the Docker image when facing this error:

[ 86%] Built target obconformer
Scanning dependencies of target bindings_python
make[2]: *** No rule to make target '/opt/conda/lib/libpython3.10.so', needed by 'lib/_openbabel.so'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 86%] Building CXX object scripts/CMakeFiles/bindings_python.dir/python/openbabel/openbabel-python.cpp.o
/root/openbabel-3.1.1/scripts/python/openbabel/openbabel-python.cpp:177:11: fatal error: Python.h: No such file or directory
  177 | # include <Python.h>
      |           ^~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/CMakeFiles/bindings_python.dir/build.make:70: scripts/CMakeFiles/bindings_python.dir/python/openbabel/openbabel-python.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5563: scripts/CMakeFiles/bindings_python.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 86%] Building CXX object test/CMakeFiles/test_runner.dir/aliastest.cpp.o
...

Any idea how to quickly solve that error?

If you're struggling to install DiffDock locally, feel free to try https://www.tamarind.bio/, a website which offers a no-code interface for bioinformatics tools including docking tools like DiffDock and AutoDock.