I wrote a very simple model in Pyomo environment and added the following two commands at the end.
solver_manager = SolverManagerFactory(\'neos\') results = solver_man