Skip to main content

pip installation fails due to 403 Error

Answered

Comments

4 comments

  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi Mathias,

    We recently moved the gurobipy packages onto the official PyPI server, so you can just call

    pip install gurobipy

    to install the latest version. In general, it is not recommended to specify a specific wheel as you do in your question - it's the task of pip to find the appropriate version for your system.

    Cheers,
    Matthias

    2
  • Mathias Sirvent
    Gurobi-versary
    First Comment
    First Question

    Hi Matthias,

    thanks for your quick answer. That solves my problem.

    Regards,

    Mathias

    0
  • Wouter Verbeeck
    Gurobi-versary
    First Comment

    Hi Matthias Miltenberger

    Great! But it seems that the documentation is still pointing to the old private PyPI server:

    python -m pip install -i https://pypi.gurobi.com gurobipy

    (https://www.gurobi.com/documentation/9.1/quickstart_windows/cs_using_pip_to_install_gr.html#subsubsection:pip)

    0
  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi Wouter,

    Thanks for the heads-up! This will be updated as soon as the 9.1.2 documentation is online, which is going to happen any day now. Regardless, the old command is also going to work because we redirect from this server to the official one. You just cannot point to a specific file on that server because then the redirect does not work anymore.

    Have a great weekend!
    Matthias

    1

Please sign in to leave a comment.