ModuleNotFoundError: No module name selenium - selenium

When I try to run an automation.py code that I created in python using Selenium I get the error message ModuleNotFoundError: No module named 'selenium'. I have tried to run the pip install. I am using python version 3.
pip3 install selenium
But I still get the error message.

pip3 install selenium-webdriver

Related

Install selenium and webdriver offline in PyCharm without Pip & Interpreter

I have been trying to install selenium and webdriver in PyCharm without PIP and install package via Interpreter settings as both are blocked. Can someone please help?
Tried via pip in terminal and install package in interpreter but both didn't work

ModuleNotFoundError: No module named 'matplotlib.colorbar'

I tried upgrading my matplotlib to the 3.4.2 version. I first did
pip install matplotlib==3.4.2
It successfully installed. But when I try and import the package in Jupyter, it gives me an error
ModuleNotFoundError: No module named 'matplotlib.colorbar'
I have tried to uninstall matplotlib and then install again using
pip3 install matplotlib
But I get the same error. Also in my Anaconda Navigator window I see the older version 3.3.4 still installed

install "pip undetected-chromedriver" for selenium python

I'm trying to make an autofiller using selenium, but it couldn't be done. so I decided to use undetected chromedriver to finish the automation.
I am having some difficulty here to import the undetected-chromedriver.
I already downloaded it by inputting the command line: pip install undetected-chromedriver
But when I put the import undetected_chromedriver as uc, the complier doesn't recognize it.
Below is the Error message after trying to import undetected-chromedriver:
import undetected_chromedriver as uc
ModuleNotFoundError: No module named 'undetected_chromedriver'
Use the following command to check if the undetected_chromedriver package is in the list
pip list
or
pip3 list
Try the following
# navigate into the project directory with your python script
cd presearch
# create virtual environment
python3 -m venv venv
# activate the virtual environment
source venv/bin/activate
# install required pip packages
pip3 install undetected-chromedriver
If you have multiple python versions installed, you might check if you actually installed it in the right one.

ModuleNotFoundError: No module name 'Cython'

I am trying to install pandas module on PyCharm. When i try to install it it gave me this error: "ModuleNotFoundError: No module name 'Cython' " (Screen: https://prnt.sc/qafwcy)
So i went on the CMD to try to install the Cython package with this command: py -m pip install Cython , which gave me an other error: "The script, f2py.exe is install in 'C:\xxx.xxxx, which is not a PATH. (Screen: https://prnt.sc/qafvx3)
Does anyone had the same problem and know how to fix it?
Thank you
Pycharm uses a virtual environment - one separate from your python install on your computer. This is to isolate your development environment from the one you would use on your computer.
Enter your pip commands here instead:

Win10 scrapy install

I have python install as well as c++ complier. When I run "pip install scrapy" from the command line it starts to install but I get a couple errors surrounding the libxml and libxslt.
error: 'xslt-config' is not recognized...
cannot open libxml/xmlversion.h no such file or directory
compile failed windows C++ for python failed with exit status 2
could not find function xmlCheckVersion
is libxml installed.....
Use this:
set STATICBUILD=true && pip install lxml
Find the documentation here