-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
<< OpenBabel error >> #31
Comments
Hi @icamps, I just tried installing openbabel and python-openbabel using apt on a clean Ubuntu 19.04: apt install openbabel python-openbabel and afterwards I ran the following from the terminal: $ python -c "import openbabel; print openbabel"
<module 'openbabel' from '/usr/lib/python2.7/dist-packages/openbabel.pyc'> So to me it looks like you installed FragIt using python3 on Ubuntu 19.04 and then installed openbabel and python-bindings using apt which defaults to python 2.7. So you need to remove your installation of fragit and reinstall it using python2.7. all the best Casper |
Hi @cstein Thank you very much for your help. I figure out how to install/run Fragit: I added "#!/usr/bin/python" to files /usr/local/bin/fragit-conf and /usr/local/bin/fragit, when I run python, it returns Python 2.7.16 (default, Apr 6 2019, 01:42:57) so it is Python 2.7, right? Now, I am following the steps in the Wiki (How to use Fragit?) but I am getting the following output file (attached) with this message: Traceback (most recent call last): It is about OpenBabel? Also: how can I uninstall FragIt? Regards, Camps |
Hello,
I installed OpenBabel and python-openbabel using apt (Ubuntu 19.04).
The problem is that after installing FragIt, I am getting the following error messages:
Error: OpenBabel could not be loaded.
Please make sure OpenBabel has been installed with python bindings.
But Babel and Babel-GUI are working fine when I call them from the command line.
Any idea how to make FragIt to see OpenBabel?
Regards,
The text was updated successfully, but these errors were encountered: