+ 2

How do I install Flask for py in sololearn?

Hello dear people of sololearn, I'm trying to run a code from online that finds the IP address of a specific website. The code uses py and flask. The original codes way of installing flask to the script was invalid, and then I tried to download it by my own using a line of code from https://www.sololearn.com/Discuss/2256276/how-i-install-flask-on-this-app . It actually downloads it but It has an error/warning that says that it's dangerous or something. Can you please help me out untill the code has no errors? Thanks https://code.sololearn.com/cH04tkur66eg/?ref=app

3rd May 2023, 11:38 AM
RayZ
RayZ - avatar
4 odpowiedzi
+ 9
You cannot install flask on Sololearn. Flask uses a multifile structure and multifile projects are not supported on SL (with the tiny exception of Web Codebits, but still only limited to one file per language).
3rd May 2023, 1:46 PM
Justice
Justice - avatar
+ 6
You can use replit for it
3rd May 2023, 2:30 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
4th May 2023, 1:23 AM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 1
Hasnain [ACTIVE CHALLENGER] how do I use replit for it?
4th May 2023, 12:33 AM
RayZ
RayZ - avatar