EPFL-LCSB / pytfa

A Python 3 implementation of Thermodynamics-based Flux Analysis
https://lcsb.epfl.ch/
Apache License 2.0
38 stars 26 forks source link

Problem with installation #53

Open norle opened 2 years ago

norle commented 2 years ago

Hello.

When trying to build the docker container an error appears:

> [10/21] RUN /utils/install_cplex.sh:
#14 0.481 /bin/sh: 1: /utils/install_cplex.sh: not found
------
executor failed running [/bin/sh -c /utils/install_cplex.sh]: exit code: 127

There seems to be a utils/install_cplex.sh file. I have also put the necessary files in the solvers folder. Maybe it has something to do with me using Windows?

psalvy commented 2 years ago

Good day Reinis, Thanks for using our package! Could it be that the volume is not mounted properly ? Cheers, Pierre

norle commented 2 years ago

I don't really know what that means :) But I think the problem is that Windows uses backslashes for paths. I installed all the dependencies and pyTFA using Anaconda and it seems to work fine. However, a similar thing happens in the tutorials, where the paths use forward slashes. It can be fixed by using Path() before all the path strings.