+ 3

Web requests using requests module in python [SOLVED]

I know that requests module is not supported on sololearn but I tried installing it with pip install and then importing it to send a web request. But it doesn't seem to work. What should I do? https://code.sololearn.com/c0NqeO4gSU4o/?ref=app

9th Dec 2019, 2:36 PM
Saurabh Tiwari
Saurabh Tiwari - avatar
7 Answers
+ 3
Saurabh Tiwari that trick works for the previous version 3.8.0 and now it's gone and won't work anymore. Python's playground has been downgraded to v3.7.5 some days ago.
9th Dec 2019, 6:34 PM
Mirielle
Mirielle - avatar
+ 3
Idk but since then, the playground has been malfunctioning...sometimes, the print() function won't even show any output
9th Dec 2019, 6:55 PM
Mirielle
Mirielle - avatar
+ 1
what operating system are you using? and what is the error you are getting?
9th Dec 2019, 4:34 PM
Bahhaāµ£
Bahhaāµ£ - avatar
+ 1
I am trying to use it on sololearn
9th Dec 2019, 4:42 PM
Saurabh Tiwari
Saurabh Tiwari - avatar
+ 1
Mirielle🐶 [Inactive] thanks for the help though!!
9th Dec 2019, 7:36 PM
Saurabh Tiwari
Saurabh Tiwari - avatar
0
i'm not sure if you can install and use it, since it is not supported.
9th Dec 2019, 5:09 PM
Bahhaāµ£
Bahhaāµ£ - avatar
0
Mirielle🐶 [Inactive] what? why would they do that???
9th Dec 2019, 6:52 PM
Saurabh Tiwari
Saurabh Tiwari - avatar