Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to install io module in python 3.4 on win10

Tags:

python

io

pycurl

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

like image 823
delaflota Avatar asked Nov 30 '22 09:11

delaflota


1 Answers

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

like image 192
Moinuddin Quadri Avatar answered Dec 04 '22 08:12

Moinuddin Quadri