I am building an environment to learn scraping with python.
Immediately, I stumbled on an error.
I should have installed selenium, but I get a message that it doesn't exist.
Could anyone please help me?
ANACOND A3 installed
Install selenium and urllib3 locally (because pip cannot be installed due to proxy restrictions)
Corresponding source code
ModuleNotFoundError Traceback (most recent call last) <ipython-input-2-93833772b63f>in<module> ---->1 from selenium import webdriver ModuleNotFoundError: No module named'selenium'
What I tried
from selenium import webdriver
Adding the directory to the path of the user's environment variable does not fix the location of chromedriver.exe.Supplementary information (FW/tool version, etc.)
C: \ Users \ username>python -V
C: \ Users \ username>pip3 list
C: \ Users \ username>pip3 show selenium
Summary: Python bindings for Selenium
License: Apache 2.0
Location: c: \ python39 \ lib \ site-packages
C: \ Users \ username>python -m pip freeze
selenium @ file: /// C:/Users/username/Desktop/selenium-3.141.0-py2.py3-none-any.whl
urllib3 @ file: /// C:/Users/username/Desktop/mymemo/mymodule/selenium_src/urllib3-1.25.11-py2.py3-none-any.whl
Answer # 1
Maybe it's because you're confusing pip with anaconda.
When installing the library in the anaconda environment, it seems to be conda install ~ instead of pip.
Conda and Pip
- python - the "no module named'torch'" error persists!
- reading python text module assignment error occurred
- i get a no module named error when i try to run a program in python
- python - i want to resolve the error message
- python - [selenium] i want to click the dropdown, but an error is returned
- an init error that is not used in python and ldl appears
- python - 'numpyndarray' object has no attribute'numpy' error
- python - 'numpyndarray' object has no attribute'append' error
- python - when using pil, an error screen is displayed
- python - error resolution in creating message display gui from ros
- python - i get an error code of'int' object is not callable
- [python] no error occurs, but it is not executed i would like to help you
- python - i want to know the cause of the error that occurs when kernel density estimation is performed with high-dimensional dat
- about the cause of syntax error: invalid syntax in python
- python - i get an argument must be int or float error in django
- python - ephem module cannot be imported in vscode
- i get a local variable error in python
- python - about input error
- python - i can't get the element with selenium
- python - how to get "job description" of hello work with selenium
- [python] i can't open a new firefox tab in selenium a new window will open
- python - whether scraping is possible
- python - i'm using selenium the text sent by send_keys to the input tag disappears when the text is sent by send_key to the next
- python - how to hide the browser by scraping with beautifulsoup
- python - i can't use special keys with selenium
- python - currency scraping json
- i want to change the display of the weather forecast python weather api