Hi,

Firstly I installed the openbabel-2.4.1 in a conda environment named abc on
Ubuntu 18.04 using the below command:

conda install -c conda-forge openbabel=2.4.1 --yes

Then I checked whether openbabel works or not. It seems that it has
been installed properly:
babel
No output file or format spec!
Open Babel 2.4.1 -- Sep  2 2019 -- 21:49:10
Usage: babel [-i<input-type>] <name> [-o<output-type>] <name>
Try  -H option for more information.
....

Lastly I run my script that includes "import openbabel" in the abc
environment but it gives the below error:
python myscript.py
Traceback (most recent call last):
  File "myscript.py", line 10, in <module>
    import openbabel
ModuleNotFoundError: No module named 'openbabel'

Do you know how I can fix this error? Note that my OS uses python-3.6.

Thanks in advance,
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to