Mercurial > repos > bimib > cobraxy
diff COBRAxy/docs/installation.md @ 538:fd53d42348bd draft
Uploaded
| author | francesco_lapi |
|---|---|
| date | Sat, 25 Oct 2025 11:39:03 +0000 |
| parents | 4ed95023af20 |
| children |
line wrap: on
line diff
--- a/COBRAxy/docs/installation.md Sat Oct 25 11:05:14 2025 +0000 +++ b/COBRAxy/docs/installation.md Sat Oct 25 11:39:03 2025 +0000 @@ -4,7 +4,7 @@ ## System Requirements -- **Python**: 3.8-3.11 +- **Python**: 3.8-3.12 - **Operating System**: Linux (recommended), macOS, Windows - **Storage**: 2GB free space for installation and temporary files @@ -34,50 +34,7 @@ ## Dependencies -COBRAxy automatically installs its Python dependencies: - -- **COBRApy** - Core metabolic modeling -- **pandas** - Data manipulation -- **numpy** - Numerical computations -- **scipy** - Scientific computing - -## Optional System Libraries - -Install additional libraries for enhanced features: - -### Ubuntu/Debian - -```bash -# Install GLPK solver -sudo apt-get update -sudo apt-get install libglpk40 glpk-utils - -# Install libvips for SVG processing -sudo apt-get install libvips - -# Install Python GLPK bindings -pip install swiglpk -``` - -### macOS - -```bash -# Using Homebrew -brew install glpk vips - -# Install Python bindings -pip install swiglpk -``` - -### Windows - -```bash -# Using conda (recommended for Windows) -conda install -c conda-forge glpk - -# Or using pip -pip install swiglpk -``` +COBRAxy automatically installs its Python dependencies (COBRApy, pandas, numpy, etc.) ## Verify Installation @@ -87,39 +44,6 @@ # Check if COBRAxy tools are available ras_generator --help flux_simulation --help - -# Test with example data (if available) -cd COBRAxy -python testing.py -``` - -## Troubleshooting Installation - -### Common Issues - -**Import Error: No module named 'cobra'** -```bash -# Install COBRApy manually -pip install cobra -``` - -**GLPK solver not found** -```bash -# Install GLPK solver -# Ubuntu/Debian: sudo apt-get install glpk-utils -# macOS: brew install glpk -# Then: pip install swiglpk -``` - -**Permission denied errors** -```bash -# Use user installation -pip install --user . -# Or use virtual environment (recommended) -python -m venv cobraxy-env -source cobraxy-env/bin/activate # Linux/macOS -# cobraxy-env\Scripts\activate # Windows -pip install . ``` ## Virtual Environment (Recommended)
