You do not have to explicitly install io. It comes along with python bundle at the time of installing python. Within your code, just do:
import io
and it will work fine
Answer from Moinuddin Quadri on Stack Overflow
» pip install Python-IO
You do not have to explicitly install io. It comes along with python bundle at the time of installing python. Within your code, just do:
import io
and it will work fine
The io module is part of Python already. It is in the standard library from Python 2.6 onwards. See the Python 2 and Python 3 versions of the documentation.
In fact, there is no io package on PyPI to install (the link gives a 404 not-found error).
Note that I expect pycurl to write bytestrings, not Unicode text. You probably want to use io.BytesIO instead here. See Pycurl and io.StringIO - pycurl.error: (23, 'Failed writing body) and the PyCurl documentation.
» pip install requires.io
» pip install simpy.io