If you have pip installed you can install selenium like so.
pip install selenium
or depending on your permissions:
sudo pip install selenium
For python3:
sudo pip3 install selenium
As you can see from this question pip vs easy_install pip is a more reliable package installer as it was built to improve easy_install.
I would also suggest that when creating new projects you do so in virtual environments, even a simple selenium project. You can read more about virtual environments here. In fact pip is included out of the box with virtualenv!
Related Posts:
- from PIL import Image – ImportError: No module named PIL
- How to select a drop-down menu value with Selenium using Python?
- How can I install the Beautiful Soup module on the Mac?
- bash: pip: command not found
- ImportError: No module named pip
- ImportError: No module named pip
- How do I install pip on macOS or OS X?
- ImportError: No module named tensorflow
- ImportError: No module named pandas. Pandas installed pip
- What is __init__.py for?
- What is __init__.py for?
- Could not install packages due to a “Environment error :[error 13]: permission denied : ‘usr/local/bin/f2py'”
- Could not install packages due to an EnvironmentError:
- Importing modules from parent folder
- `from … import` vs `import .` [duplicate]
- Importing modules from parent folder
- import opencv vs import cv2
- socket.error: [Errno 48] Address already in use
- socket.error: [Errno 48] Address already in use
- Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?
- How do I unload (reload) a Python module?
- Where do I find the bashrc file on Mac?
- filename.whl is not a supported wheel on this platform
- bash: pip: command not found
- SBOX_FATAL_MEMORY_EXCEEDED error shown when Chromedriver turned 1800-1900 pages using Selenium
- MacOS Catalina(v 10.15.3): Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser
- ModuleNotFoundError: No module named ‘matplotlib’
- Python – Module Not Found
- selenium – chromedriver executable needs to be in PATH
- Wait for page load in Selenium
- Python 3: ImportError “No Module named Setuptools”
- What’s the difference between a Python module and a Python package?
- Running Selenium with Headless Chrome Webdriver
- Selenium using Python – Geckodriver executable needs to be in PATH
- Python can’t find module in the same folder
- Pyspark: Exception: Java gateway process exited before sending the driver its port number
- Virtualenv Command Not Found
- Can’t import my own modules in Python
- Wait until page is loaded with Selenium WebDriver for Python
- “ImportError: No module named site” on Windows
- tar: Unrecognized archive format error when trying to unpack flower_photos.tgz, TF tutorials on OSX
- What’s the difference between a Python module and a Python package?
- ImportError: No module named six
- Segmentation fault: 11 in OS X
- Could not install packages due to an EnvironmentError: [Errno 13]
- Python way to clone a git repository
- Can not click on a Element: ElementClickInterceptedException in Splinter / Selenium
- When and how to use switchTo() method in webDriver (Selenium 2) to handle window/pop up
- Tkinter error: Couldn’t recognize data in image file
- Error: No module named ‘fcntl’
- Selenium “Unable to find a matching set of capabilities” despite driver being in /usr/local/bin
- ElementClickInterceptedException: element click intercepted:
- How to import or include data structures (e.g. a dict) into a Python file from a separate file
- How do I install pip on macOS or OS X?
- Homebrew brew doctor warning about /Library/Frameworks/Python.framework, even with brew’s Python installed
- ModuleNotFoundError: What does it mean __main__ is not a package?
- Purpose of “%matplotlib inline”
- How do I update Anaconda?
- TypeError: ‘str’ object is not callable (Python)
- Dijkstra’s algorithm in python
- Arrays used as indices must be of integer (or boolean) type
- Are static class variables possible in Python?
- Why am I getting “LinAlgError: Singular matrix” from grangercausalitytests?
- ‘method’ object is not subscriptable. Don’t know what’s wrong
- AttributeError: Module Pip has no attribute ‘main’
- django:django.core.exceptions.AppRegistryNotReady: Apps aren’t loaded yet
- Can I force pip to reinstall the current version?
- Removing pip’s cache?
- Improve subplot size/spacing with many subplots in matplotlib
- Can I run Keras model on gpu?
- How to check whether a pandas DataFrame is empty?
- Convert columns to string in Pandas
- Add a new item to a dictionary in Python
- reducing number of plot ticks
- How can I add new keys to a dictionary?
- Convert pandas data frame to series
- Decorators with parameters?
- How do I get a python program to do nothing?
- Append a tuple to a list – what’s the difference between two ways?
- No module named Image
- How to fix “TypeError: len() of unsized object”
- ValueError: Unknown projection ‘3d’ (once again)
- TypeError: ‘numpy.float64’ object does not support item assignment
- When running WebDriver with Chrome browser, getting message, “Only local connections are allowed” even though browser launches properly
- TypeError: unsupported format string passed to list.__format__
- Getting “socket.error: [Errno 61] Connection refused” python paramiko
- python setup.py uninstall
- How to open every file in a folder
- Python iteration over non-sequence
- How do I convert a string to a double in Python?
- _csv.Error: field larger than field limit (131072)
- Run script on mac prompt “Permission denied”
- How do I rotate an image around its center using Pygame?
- How can I copy a Python string?
- TypeError: coercing to Unicode: need string or buffer, int found
- Package libffi was not found in the pkg-config search path REDHAT6.5
- Line is too long. Django PEP8
- TypeError: zip argument #2 must support iteration
- CS231n: How to calculate gradient for Softmax loss function?
- How to create a new database using SQLAlchemy?