Closed Rohak72 closed 5 months ago
Hello Rohak!
Thank you for the feedback, could you send us what error araises when you try to install cplex?
best regards, Carlos
Hi Carlos,
Sure thing -- here's a traceback of the error message:
ERROR: Cannot install gmcspy==0.2, gmcspy==0.21, gmcspy==1.0 and gmcspy==1.0.1 because these package versions have conflicting dependencies.
The conflict is caused by:
gmcspy 1.0.1 depends on cplex
gmcspy 1.0 depends on cplex
gmcspy 0.21 depends on cplex
gmcspy 0.2 depends on cplex
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Hope this helps!
Best, Rohak
Hey again!
Thanks for the trace back.
I have some questions to try to support you in the best possible way.
What version of python are you using?
Thanks!
Hi Carlos,
I'm currently using Python 3.8.9. Should I consider an upgrade/downgrade?
Best, Rohak
Hello again Rohak!
I have been trying to replicate the error to find where the conflict is. From here I have not been able to replicate the issue.
I would suggest creating a new conda enviroment with python 3.10,
conda create -nameOfEnviroment python=3.10
And then try to install gmcspy.
Please contact me again if you have any issue.
Carlos
Hi Carlos,
Thanks so much for the advice, it has fixed the error! I really appreciate your help.
Best, Rohak
Hello,
Thanks for creating this tool, I imagine it'll be a useful asset to my metabolic modeling work. When trying to install, unfortunately, I run into an error with the cplex dependency. I currently use Gurobi as my solver of choice, so is there any way to circumvent this requirement and proceed with the package installation? Please let me know your thoughts, much appreciated!
Cheers, Rohak