Problem Installing Gurobi on Anaconda

1,371 views
Skip to first unread message

fhern...@gmail.com

unread,
Sep 12, 2017, 12:21:17 AM9/12/17
to Gurobi Optimization
I´ve tried to install Gurobi on Anaconda and I got this:


MacBook-Pro-de-Jose:~ drfernando$ conda config -add channels http://conda.anaconda.org/gurobi

usage: conda config [-h] [--json] [--debug] [--verbose]

                    [--system | --env | --file FILE]

                    (--show | --show-sources | --validate | --describe | --get [KEY [KEY ...]] | --append KEY VALUE | --prepend KEY VALUE | --set KEY VALUE | --remove KEY VALUE | --remove-key KEY)

conda config: error: one of the arguments --show --show-sources --validate --describe --get --append --prepend/--add --set --remove --remove-key is required

MacBook-Pro-de-Jose:~ drfernando$ conda install gurobi

Fetching package metadata .........


PackageNotFoundError: Packages missing in current channels:

            

  - gurobi


We have searched for the packages in the following channels:

            

  - https://repo.continuum.io/pkgs/free/osx-64

  - https://repo.continuum.io/pkgs/free/noarch

  - https://repo.continuum.io/pkgs/r/osx-64

  - https://repo.continuum.io/pkgs/r/noarch

  - https://repo.continuum.io/pkgs/pro/osx-64

  - https://repo.continuum.io/pkgs/pro/noarch


Any idea?

Fernando

Sonja Mars

unread,
Sep 12, 2017, 12:27:45 AM9/12/17
to gur...@googlegroups.com
Hi Fernando,

Please follow these instructions for installing Gurobi into Anaconda:

Especially, you need to run this command before trying to install Gurobi:

conda config -add channels http://conda.anaconda.org/gurobi

Best regards, 
Sonja 


----
Dr. Sonja Mars
Gurobi Optimization - Technical Support 

Sonja Mars

unread,
Sep 12, 2017, 8:09:22 AM9/12/17
to gur...@googlegroups.com
Hi,

I am sorry, I made a mistake in my earlier email

I should be two --, so
conda config --add channels http://conda.anaconda.org/gurobi

Sorry for this,
  Sonja
-- 

--- 
You received this message because you are subscribed to the Google Groups "Gurobi Optimization" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gurobi+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fernando...@uas.edu.mx

unread,
Sep 17, 2017, 3:51:55 PM9/17/17
to Gurobi Optimization
Thanks so much. The problem is solved.

Fernando
Reply all
Reply to author
Forward
0 new messages