In Chapter 1, Developing RESTful APIs and Microservices with Flask 1.0.2, we learned that, throughout this book, we were going to work with the lightweight virtual environments that were introduced and improved on in Python 3.4. Now, we will follow many steps to create a new lightweight virtual environment to work with Pyramid 1.10. It is highly recommended to read the section named Working with lightweight virtual environments in Chapter 1, Developing RESTful APIs and Microservices with Flask 1.0.2, if you don't have experience with lightweight virtual environments in modern Python. This chapter includes all the detailed explanations about the effects of the steps we are going to follow.
The following commands assume that you have Python 3.6.6 installed on Linux, macOS, or Windows.
First, we have to select the target...