As stated by @jsiirola in the Github post github.com/Pyomo/pyomo/issues/2699, to use the AMPL compiled version of the Cbc solver, you need to invoke the solver with the following command
solver = SolverFactory("asl:cbc", executable="C:/Users/coinor/cbc.exe")
Best regards