mcs07 / ChemDataExtractor

Automatically extract chemical information from scientific documents
http://chemdataextractor.org
MIT License
287 stars 112 forks source link

Not able to install chemdataextractor #43

Open scicontent opened 6 months ago

scicontent commented 6 months ago

I am trying to install chemdataextractor Python version 3.10.11

It gives me the following error:

error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for DAWG Running setup.py clean for DAWG Failed to build DAWG ERROR: Could not build wheels for DAWG, which is required to install pyproject.toml-based projects

Kindly help

rxk900 commented 5 months ago

I worked round this by switching to DAWG2 https://pypi.org/project/DAWG2/ and installing chemdataextractor with --no-dep. There was also a need to change collections -> collections.abc