I can't install solvers in virtual environment

Viewed 130

I want to work with a package using Jupyter notebook. First, I need to create a virtual environment, which I've done, and then install Gurobi and CPLEX there. Using these commands:

conda install -n virtualenvname ibmdecisionoptimization cplex for CPLEX and these for Gurobi: conda config --add channels http://conda.anaconda.org/gurobi conda install gurobi

I get error messages below and because they take so long, I always terminate them before they go further. I don't have this problem without creating virtual environment.

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed

Could you please guide me to solve this problem?

0 Answers
Related