Hello,

This is my first time using Python. I only know the basic syntax of python but I never actually run the code itself.

Therefore, I am trying to figure out how to install Python web server on localhost ?

I have this installer - GoogleCloudSDKInstaller

When trying to install it:

hecking 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?

Please advice me. Thanks in advance.

I find it odd you used a cloud installer to install this. https://www.google.com/search?q=install+Python+web+server+on+localhost finds the answer you just need to install Python and if this is on Windows, read the changes noted at https://stackoverflow.com/questions/17351016/set-up-python-simplehttpserver-on-windows

PS. For Windows I'm using Ninite.com then checking off Python and using that installer.

choco install python

(See other thread)

Hi - You didn't mention which OS are you using to install Python and the server.
Anyways, as a first step, you should use the pip (Python's package manager) which comes bundled with the Python installer.
You can go to official Python site and try to download/install Python and use pip to install other packages.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.