-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EnvironmentError: Solver 'cplex' not available. #14
Comments
Hi Silvia, Did you install the cplex python bindings? What is the result of running |
I don't get any result: Do I have to conclude that I haven't installed the bindings? |
No, it seems to be installed, otherwise, there would be an import error. Could you please tell me the output from this one just to confirm?
|
It's: |
It could be your cplex version (we have only tested for cplex 12.7). It might be just a small fix to update to 12.8, but unfortunately I cannot download cplex at the moment. Would it be possible for you to downgrade to 12.7? |
I will try to download it again; is version 12.7.1 supposed to be ok? I think 12.7 doesn't match my OS (macOS Sierra). |
I believe I used 12.7.0 with both Sierra and High Sierra. But 12.7.1 should be fine, as there should be no major API changes. You can also email me directly at daniel (dot) machado (at) embl (dot) de, if you have further questions. |
Sorry for the delay. I finally installed cplex 12.8, but I am not able to reproduce your error. Maybe there is something strange about your python installation (?). I will close this for now. Please feel free to re-open this issue if the problem persists. |
I have the same exact issue in High Sierra and my cplex version seems to be 12.8.0.0 |
Could you please run the two following commands and tell me the output of each one?
|
Voila:
|
Ok... what about this?
|
Same error:
Should I have installed these modules prior to installation? |
Strange, they should be automatically installed. Did you install CarveMe with |
Yes, I installed with pip install. I also tried to manually install "framed" and now I get this error:
Should I create a virtualenv ? If yes, should I install carveme directly inside the virtualenv ? |
That's a typical matplotlib installation error. The best way to avoid it is to install matplotlib using conda. But please do not install CarveMe or framed manually, just follow the installation instructions in the documentation: http://carveme.readthedocs.io/en/latest/installation.html |
Got it! |
Great :) |
|
I just installed CarveMe and am trying to build a draft reconstruction from an annotated genome I have. When executing the program, however, I get the following lines:
u-172-c057:~ username$ carve /User/Documents/filename.gff Traceback (most recent call last): File "/usr/local/bin/carve", line 3, in <module> from carveme import config, project_dir File "/usr/local/lib/python2.7/site-packages/carveme/__init__.py", line 12, in <module> set_default_solver(config.get('solver', 'default_solver')) File "/usr/local/lib/python2.7/site-packages/framed/solvers/__init__.py", line 61, in set_default_solver raise EnvironmentError("Solver '{}' not available.".format(solvername)) EnvironmentError: Solver 'cplex' not available.
What am I doing wrong?
Thank you in advance
Silvia
The text was updated successfully, but these errors were encountered: