Not able to install io module in python 3.4 on win10

delaflota picture delaflota · Dec 18, 2016 · Viewed 17.3k times · Source

I'm trying to install the io module in python3.4 or in py 2.7 on my Win10 with

python -m pip install io

in order to use io.StringIO with pycurl but in both cases it says:

   Could not find a version that satisfies the requirement io (from versions: )
   No matching distribution found for io

I actually want to use curl with the GET method to access a https site on spotify
and process the json result...

Any idea?
Thanks

Answer

Anonymous picture Anonymous · Dec 18, 2016

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