Reputation: 725
I'm using Windows and my default python version is:
python --version
Python 3.6.5 :: Anaconda, Inc.
Unfortunately, Gurobi is choosing 2.7 for installation.
How to install it with python 3.6?
Upvotes: 0
Views: 665
Reputation: 21597
You are in good shape because you have anaconda installed on windows. If you follow the instructions you will have gurobi installed with your version of python. As of today, the instructions are
conda config --add channels http://conda.anaconda.org/gurobi
conda install gurobi
If you still have trouble, read on. From reading your question, it looks like you might also have gurobi installed separately but in your path. This is probably OK as long as it is the same version of gurobi or if the anaconda distribution is ahead of the gurobi installation. Also, if you used the setup.py or pip to try to install gurobi, you might run into trouble from mixing pip and conda. In the worst case, it might be easiest just to delete and reinstall conda.
Upvotes: 1