Introduction
Before learning the steps to install and set up Web2py, we would first like you to understand the concept of the Web2py framework and why it is popular.
Web2Py is a full-stack Python web framework because it includes all the resources, parts, and APIs required to create a finished online application. Web2Py was created using the Python programming language and is compatible with Python versions 2.x and 3.x. Web2Py adheres to the Model View Controller (MVC) design, just like well-known web frameworks Django and Ruby on Rails. It does this by offering separate modules for data presentation (view) and data representation (model), both of which are governed by logic (controller).
Let us see the step-by-step process to install and startup the Web2py Python framework.
Installation and Startup of Web2py
Install Web2py
In contrast to other Python web frameworks, web2py installation via the Python pip install command may encounter issues or failures. Therefore, downloading and unzipping the binary file from the official website is the simplest way to install web2py. From this link, download web2py.
Windows and most Unix platforms, including Linux, BSD, and Mac, are compatible with the source code version. Your system must already have installed Python 3.5+ (recommended for new projects) or Python 2.7+ (regular, for use with older programs).
Additionally, binary packages are available for macOS and Windows. You do not need to have the Python interpreter pre-installed because they come with versions 3.7.4 or 2.7.16

Unzip the binary file
Once you have downloaded the web2py binary zip file, create a folder named Web2py and unzip it.

Run the Web2py executable file
Unzip the binary packages after downloading them, then open web2py.exe (Windows) or web2py (MacOs).

Create a Password and Start-Server
The web2py web framework window will now open, prompting you to provide a password and click the "start server" button to launch a localhost server on port 8000.

After the server has started, you may get a screen like this by going to http://localhost:8000/welcome/default/index in your browser.

You are now ready to use the Web2py framework. You can start by clicking the admin button at the bottom to build new apps.