Open harryjubb opened 6 years ago
Seems like these tests are failing for two reasons:
i) tab characters in test/testpdbformat.py
, which lead to an error with Python 3.6
ii) broken import DLFCN
in scripts/python/openbabel.py
, because DLFCN
was merged into the os
module in Python 3.x
Both problems are fixed with the patch in https://github.com/easybuilders/easybuild-easyconfigs/pull/7614/files#diff-f07033ab146a0de07881b78c27e94845
Hi Harry,
I am trying to build this on a python 3.x version. I copied verbatim but I am getting and import error about DLFCN not found. I found this site:
https://bugs.archlinux.org/task/52409 [bugs.archlinux.org]
It builds/tests fine but when I run my code it gives me the import error. If this patch fixes it, how can I implement it? It seems that the newest version of open babel should have already taken care of this fix? I have been trying different things for several hours now and can’t get anywhere. I’m new to docker.
Would you be so kind to provide some assistance? Thanks so much.
Best regards,
Spencer
Hi @trinhsk,
It looks like there hasn't been a stable OpenBabel release version covering this fix (the stable version remains the same as in the Dockerfile
).
One option to try is changing the Dockerfile
to clone the latest development version of OpenBabel and build in there (as per http://openbabel.org/wiki/Git), rather than wget
ting the stable release. Then build the image with docker build
and see if that version fixes it.
I was having the same problem. I solved it by simply deactivating the conda environment I was in.
conda deactivate