Closed juz4karen closed 4 years ago
Have you already tried pip install future
?
Hi, after I pip install future, it worked. However, I tried carveme_initi again, it showed cplex not found. I have already installed IBM ILOG Cplex Optimization Studio V12.9.0.
carveme_init
Traceback (most recent call last):
File "/Users/karenchung/miniconda3/bin/carveme_init", line 11, in
Did you install the cplex python bindings ?
On Thu, Apr 30, 2020, 11:43 juz4karen notifications@github.com wrote:
Hi, after I pip install future, it worked. However, I tried carveme_initi again, it showed cplex not found. I have already installed IBM ILOG Cplex Optimization Studio V12.9.0.
carveme_init Traceback (most recent call last): File "/Users/karenchung/miniconda3/bin/carveme_init", line 11, in from carveme import project_dir File "/Users/karenchung/miniconda3/lib/python3.7/site-packages/carveme/ init.py", line 14, in set_default_solver(config.get('solver', 'default_solver')) File "/Users/karenchung/miniconda3/lib/python3.7/site-packages/framed/solvers/ init.py", line 61, in set_default_solver raise EnvironmentError("Solver '{}' not available.".format(solvername)) OSError: Solver 'cplex' not available
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cdanielmachado/carveme/issues/74#issuecomment-621727930, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATX4VIPLFKZQGCU6EEBTULRPFB3VANCNFSM4MVGIVXA .
I'm not sure if I had installed that. I do find cplex, python, opl ...etc folders in my macbook (refer to attached). Could you guide please?
When I inserted command 'python setup.py install' , it showed no such file
python setup.py install python: can't open file 'setup.py': [Errno 2] No such file or directory
I guess I have to tell the system the path to the setup.py? Not sure on that....
The file is there, we can see it in the screenshot. Just test with pwd
to make sure you are in the right directory when you execute the script.
I'm sorry, but what is pwd? how do I do that?
Hi Daniel, is there any possible that you could help me with the problem if I grant you remote access to my laptop? As I really stuck with this issue here hence my project is affected. Please let me know if this will work.
I'm sorry, but I cannot personally fix problems for every user. Maybe you can ask a friend with experience in command-line usage? You just need to cd
into the directory and run the script.
Noted, thank you for that. I'll try figure it out myself
Hi there, while I tried to run run initialization script: $ carveme_init . It showed error as below:
Successfully installed carveme-1.2.2 cycler-0.10.0 framed-0.5.1 kiwisolver-1.2.0 matplotlib-3.2.1 mpmath-1.1.0 numpy-1.18.3 pandas-1.0.3 pyparsing-2.4.7 python-dateutil-2.8.1 python-libsbml-5.18.0 pytz-2020.1 scipy-1.4.1 sympy-1.5.1
$ carveme_init Traceback (most recent call last): File "/Users/miniconda3/bin/carveme_init", line 4, in
from future import standard_library
ModuleNotFoundError: No module named 'future'
Please help me with this issue.