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?
- SyntaxError: unexpected EOF while parsing
- How do I lowercase a string in Python?
- How do I copy a file in Python?
- How can I reverse a list in Python?
- Manually raising (throwing) an exception in Python
- How do I copy a file in Python?
- can’t multiply sequence by non-int of type ‘float’
- Difference between del, remove, and pop on lists
- How can I reverse a list in Python?
- How to use the pass statement
- How to use filter, map, and reduce in Python 3
- converting time from UTC to CST
- What does enumerate() mean?
- Searching the student-t distribution table for values using python
- How to declare an array in Python?
- Does Python have a ternary conditional operator?
- Use Gif Logo For Loading Screen In Kivy
- Praw & Discord.py: The bot keep sending the same meme. I want the bot to send different meme whenever it is asked
- Pig Latin Translator
- What is the difference between Python’s list methods append and extend?
- How can I make a time delay in Python? [duplicate]
- Python – TypeError: ‘int’ object is not iterable
- TypeError: ‘int’ object is not subscriptable
- sphinx.ext.autodoc: Keeping names of constants in signature
- are there dictionaries in javascript like python?
- How do you round UP a number?
- Understanding slice notation
- Iterating over dictionaries using ‘for’ loops
- How to define a two-dimensional array?
- how to sort pandas dataframe from one column
- Why am I seeing “TypeError: string indices must be integers”?
- How do you round UP a number?
- Understanding slice notation
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How do I update\upgrade pip itself from inside my virtual environment?
- How to open a file using the open with statement
- How to emulate a do-while loop?
- How do I update\upgrade pip itself from inside my virtual environment?
- How to comment out a block of code in Python [duplicate]
- Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)
- Using “with open() as file” method, how to write more than once? [duplicate]
- TypeError: list indices must be integers or slices, not str
- Why there is no do while loop in python
- How do I get a substring of a string in Python?