How to read excel from Gurobi screen?
回答済みHi,
I have just install Gurobi, and started working on my optimization course project, I am facing a problem in opening excel files, because pandas and openpyxl do not work.
just to be clear, I do not use another compiler like jupyter or google collaborate. I just use the black screen of Gurobi.
it says that : No module named 'openpyxl'
No module named 'pandas
-
Hi Baraa,
I just use the black screen of Gurobi.
Can you explain a little bit more what you mean by this? Are you using gurobi.sh or have you installed gurobipy in a Python environment?
- Riley
0 -
0 -
Hi Baraa,
So this is the Gurobi shell which is an extension to a Python shell and not intended to be used with 3rd party packages like pandas or openpyxl.
My recommendation is that you download and install Python from scratch, then install your required packages into that python environment:
> python -m pip install gurobipy pandas openpyxl
See our article How do I install Gurobi for Python? for further details.
- Riley
0
サインインしてコメントを残してください。
コメント
3件のコメント