![]() I think so your system architecture is too 64-bit and I’m downloading 64-bit geckodriver-v0.28.0-linu圆4.tar.gz. Selenium is installed successfully, and Now we will install gecko driver for firefox. It is pretty simple to install selenium on Python Because selenium is available on the Python PyPI repository So, you need to leverage the pip command: $ pip3 install selenium Install Selenium using pip3 Read this : 30 Basic commands which every Linux user should know Step 2: How to Install Selenium Python Library demo_environment/bin/activate Activate virtual environment demo_environment Create Virtual EnvironmentĪfter completing above step now we want to activate the Python virtual environment to activate pass command:Ĭommand Syntax $ source. 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. |