Let's go ahead and configure our development environment. The first thing we need to do is create a new virtual environment, so we can work and install the packages that we need without interfering with the global Python installation.
Our application will be called musicterminal, so we can create a virtual environment with the same name.
To create a new virtual environment, run the following command:
$ python3 -m venv musicterminal
Make sure that you are using Python 3.6 or later, otherwise the applications in this book may not work properly.
And to activate the virtual environment, you can run the following command:
$ . musicterminal/bin/activate
Perfect! Now that we have our virtual environment set up, we can create the project's directory structure. It should have the following structure:
musicterminal
├── client
├...