opencobra / memote

memote – the genome-scale metabolic model test suite
https://memote.readthedocs.io/
Apache License 2.0
123 stars 26 forks source link

MEMOTE throws git errors #762

Open SchroederLabWSU opened 4 months ago

SchroederLabWSU commented 4 months ago

Problem description

I can't run run memote from command line. Always getting the same error.

Code Sample

memote report snampshot iCTH669_for_MFA.sbml

Context

Trying to run memote via command line. Using python, custom python environment, and anaconda environment, nothing works, all get the same error (see below).

![image](https://github.com/opencobra/memote/assets/159805555/8147672f-b91e-4beb-8d36-a20e3ca2bae7) ![image](https://github.com/opencobra/memote/assets/159805555/4a1a6070-d43d-4a9d-b9b4-782c458ddba4)
Midnighter commented 4 months ago

Thanks for the report. The error message seems quite clear to me. You don't have git installed but it is required. You can install it, for example, using conda.

Wheaties91 commented 4 months ago

This doesn't work. "pip install git" returns no matching distribution. "pip install python-git" installs a package, but I still get the same error message afterward. So what package do I need to install to make this work?

Midnighter commented 4 months ago

Git is not a Python package unfortunately. You can install it with conda install git or since you seem to work on Windows you can install it via https://gitforwindows.org/.