I installed with pip as you did.
But the pyomo optimization framework that I use cannot find the solver.
It does however find the Gurobi solver.
I check which solvers are installed with this command
~/baobab_python_env/bin/pyomo help --solvers
From this I get the following output in the Terminal about the found solvers (+ indicates that it is installed, and without a plus indicates that it is not installed):
cbc The CBC LP/MIP solver
+gurobi 8.1.1 The GUROBI LP/MIP solver
The leading symbol (one of *, -, +) indicates the current solver
availability. A plus (+) indicates the solver is currently available
to be run from Pyomo with the serial solver manager, and (if
applicable) has a valid license.
If I run the code with CBC solver and after I installed with PIP, the model crashes because Pyomo cannot find the solver as indicated above.
Error with “cbc” as solver name:
pyutilib.common._exceptions.ApplicationError: No executable found for solver ‘cbc’
Error with cbcpy as solver name:
RuntimeError: Attempting to use an unavailable solver.