
Before that, make sure you have installed pip3. Once you were satisfied with the above explanation, you are bound to Install virtualenv using the below command. Read this:- How to install Python PIP on Windows, macOS, and Linux But still, I suggest you to create a python3 virtual environment, which will ensure that your old python programs do not interfere with the new project.īut how virtualenv will keep my old programs safe to run without error? Once you install and activate virtualenv, it will create a separate or isolated environment where you can Install different python libraries or modules without touching your old available libraries. Step 1: Create Python3 Virtual Environment Once the prerequisite is fulfilled, you can move to Create Virtual Environment. In this guide, you will use a python program to automate tests, so to move ahead, you should make sure the following applications and dependencies are preinstalled.

Step 2: How to Install Selenium Python Library.

Step 1: Create Python3 Virtual Environment.
