I am trying to get the SyGMA node to work, but am having difficulties to install the SyGMA Python package. I am running Ubuntu 16.04 LTS, and have installed the RDKit according to http://www.rdkit.org/docs/Install.html by issuing
sudo apt-get install python-rdkit librdkit1 rdkit-data
This all works fine. However, subsequently installing the SyGMA package using pip (I do not have anaconda installed) is refused because apparently the INCHI support is not configured in the RDKit python package:
evehom@evehom-P700:~/Downloads$ pip install sygma
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-boJjSa/sygma/setup.py", line 17, in <module>
raise Exception('RDKit with INCHI support is required')
Exception: RDKit with INCHI support is required
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-boJjSa/sygma/
Is there a quick fix for this?
Any tips appeciated!
The SyGMA package requires a RDKIT with INCHI support. The Ubuntu OS package repository contains RDKIT without INCHI support, so an `apt` install is not going to work.
You need to install miniconda (https://conda.io/miniconda.html) and then use `conda install -c 3d-e-Chem -c rdkit sygma` command to install sygma. To install miniconda you do not need root permission.
Or a more difficult option is to compile RDKit yourself with INCHI support as described at http://www.rdkit.org/docs/Install.html#building-from-source
Thank you, the miniconda approach works.