How can i add glpk to

Hi! im using R and python, from R i've invoke python, so all is well till i try to opt = pyo.SolverFactory('glpk'), gives me this next error Could not locate the 'glpsol' executable, which is required for solver 'glpk' . So i need to add glpk to a instance and i don't have a clue on how to do it