Python Forum
Installing Python Web Server - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Installing Python Web Server (/thread-12081.html)



Installing Python Web Server - davy_yg - Aug-08-2018

Hello,

This is my first time using Python. I am trying to install the python web server for the first time and encounter a problem.

I installed this: Google Cloud SDK Installer.exe and get this message:

Checking network connection...done.
Reachability Check passed.
Network diagnostic (1/1 checks) passed.

You must log in to continue. Would you like to log in (Y/n)? y

Your browser has been opened to visit:

https://accounts.google.com/o/oauth2/auth?redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F&prompt=select_account&response_type=code&client_id=32555940559.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Faccounts.reauth&access_type=offline

and it stops right there!

What else do I need to do?

Is installing: Google Cloud SDK Installer.exe enough for python web server?

I basically want to run my basic python code on my localhost and see it works!

Thanks in advance.


RE: Installing Python Web Server - snippsat - Aug-08-2018

davy_yg Wrote:and it stops right there!

What else do I need to do?
As this a is problem with Google Cloud SDK,you need to ask them for help.
I guess this is the install tutorial you follow.

(Aug-08-2018, 08:23 AM)davy_yg Wrote: Is installing: Google Cloud SDK Installer.exe enough for python web server?
I basically want to run my basic python code on my localhost and see it works!
Are using any framework?
Basically i never install a web-server locally as Flask or Django has build in web-sever.
This mean that all testing on localhost is done easy with these build in web-server.

If i want to share content with the world,
then would use a real protection ready web-server like Gunicorn on a host like eg DigitalOcean.