Creating a virtual environment for your projects is always a best practice. That ensures you do not corrupt your base environment and if something goes wrong you can always delete the virtual environment and make a new one. Here is the link where you can create a virtual environment with a python virtual environment package.