Hi there, I'm trying to install Open Babel 2.4.1 on Fedora 29 and then access it through Python 2.7.15, but when I try to I receive the following error message: ImportError: No module named openbabel. I'm pretty sure I did not receive any error messages during the installation, so I'm wondering where it went wrong. These are the commands I ran in order to install Open Babel, after downloading and extracting Eigen 3.3.7 and downloading openbabel-2.4.1.tar.gz:
$ tar zxf openbabel-2.4.1.tar.gz $ mkdir build $ cd build $ cmake ../openbabel-2.4.1 -DEIGEN3_INCLUDE_DIR=/home/my_name/Downloads/eigen-eigen-323c052e1731 -DEIGEN3_VERSION_OK=ON -DPYTHON_BINDINGS=ON -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib64/python2.7/config/libpython2.7.so $ make $ sudo make install $ export PYTHONPATH=/usr/local/lib:$PYTHONPATH After that I opened Python in Terminal and received the aforementioned error message by entering "import openbabel". Any ideas on how I might fix this problem? Thanks in advance, Ruben. PS: I'm not very experienced with Linux or programming, so please keep that in mind when trying to explain something.
_______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss