Now we will setup or create Python Virtual environment in the current project directory using the below command:Ĭommand Syntax $ virtualenv. Go to created folder directory selenium_firefox using cd command. ![]() So whatever module you import for this current project will save on current project directory not on globally.Īfter virtualenv download you need to create project directory at any location.To create directory use $ mkdir -p selenium_firefox/drivers $ sudo pip3 install virtualenv Install virtualenvĪ benefit of installing virtualenv will create isolated python3 environment, which will ensure that you don’t wreck your old programs. Step 1: Create Python3 Virtual Environmentįirst of all we install virtualenv using pip3 command type the following command in terminal. Now we will start the installation process.
0 Comments
Leave a Reply. |