geneontology / signor2gocam

Converting Signor pathways to GO-CAM
1 stars 2 forks source link

can't build signor2gocam #23

Open balhoff opened 3 years ago

balhoff commented 3 years ago

@rajshruti18 and I are trying out signor2gocam. I am trying to install requirements and have problems after following these steps in a fresh checkout:

ERROR: Command errored out with exit status 1: /Users/jim/Documents/Source/signor2gocam/pyenv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/b3/6k63fj853f9dt7x8k6f9q1qr0000gn/T/pip-install-15z7mkaa/pandas_104de17799224f4abd316ec832d5541e/setup.py'"'"'; __file__='"'"'/private/var/folders/b3/6k63fj853f9dt7x8k6f9q1qr0000gn/T/pip-install-15z7mkaa/pandas_104de17799224f4abd316ec832d5541e/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/b3/6k63fj853f9dt7x8k6f9q1qr0000gn/T/pip-record-u6jv_av9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jim/Documents/Source/signor2gocam/pyenv/include/site/python3.9/pandas Check the logs for full command output.
rajshruti18 commented 3 years ago

Two different versions of networkx needed: Importing 'gcd' module from 'fractions' requires networkx==2.5 but 2.5 version of networkx conflicts with ontobio==2.7.6. Ontobio 2.7.6 requires networkx 2.3.

Screenshot of error when networkx==2.5 is installed:

Screen Shot 2021-07-23 at 12 10 30 PM

Screenshot of error when networkx==2.3 is installed:

Screen Shot 2021-07-23 at 3 49 45 PM
dustine32 commented 3 years ago

@rajshruti18 Thanks, those screenshots are awesome! I just switched the underlying GO-CAM emitter to ontobio a few weeks ago to fix some things. I'll try reproducing this error and hopefully straighten out the dependency conflict.