filmov
tv
🐍 Fix ModuleNotFoundError (No Module Named Requests) Python Import Error (If Installed / If Exists)
Показать описание
(We're free online community, meet other makers!)
#python #error #fix #fixed #howto
Hey guys in this tutorial let's try to fix ModuleNotFoundError No module named error in cases where the module is already installed (and it already exists.)
# 👇️ in a virtual environment or using Python 2
pip install requests
# 👇️ for python 3 (could also be pip3.10 depending on your version)
pip3 install requests
# 👇️ if you get permissions error
sudo pip3 install requests
# 👇️ if you don't have pip in your PATH environment variable
python -m pip install requests
# 👇️ for python 3 (could also be pip3.10 depending on your version)
python3 -m pip install requests
# 👇️ for Anaconda
conda install -c anaconda requests
00:00 import requests (Running a simple Python program)
00:10 ModuleNotFoundError No module named 'requests' import error
00:35 Still getting ModuleNotFoundError even if already installed, even if module exists
00:50 pip, pip2, pip3 and pip install requests command
01:07 Differences between Python2 and Python3 launchers (or py)
01:20 Check version of python / check version of python3
01:35 Check version of pip pip2 and pip3
02:03 Creating an alias from pip to pip3
02:23 Using pip list, pip2 list and pip3 list to find out which module is installed by which python package installer
03:01 Help if you're still getting ModuleNotFoundError No module named requests after trying to fix it with this video
#python #error #fix #fixed #howto
Hey guys in this tutorial let's try to fix ModuleNotFoundError No module named error in cases where the module is already installed (and it already exists.)
# 👇️ in a virtual environment or using Python 2
pip install requests
# 👇️ for python 3 (could also be pip3.10 depending on your version)
pip3 install requests
# 👇️ if you get permissions error
sudo pip3 install requests
# 👇️ if you don't have pip in your PATH environment variable
python -m pip install requests
# 👇️ for python 3 (could also be pip3.10 depending on your version)
python3 -m pip install requests
# 👇️ for Anaconda
conda install -c anaconda requests
00:00 import requests (Running a simple Python program)
00:10 ModuleNotFoundError No module named 'requests' import error
00:35 Still getting ModuleNotFoundError even if already installed, even if module exists
00:50 pip, pip2, pip3 and pip install requests command
01:07 Differences between Python2 and Python3 launchers (or py)
01:20 Check version of python / check version of python3
01:35 Check version of pip pip2 and pip3
02:03 Creating an alias from pip to pip3
02:23 Using pip list, pip2 list and pip3 list to find out which module is installed by which python package installer
03:01 Help if you're still getting ModuleNotFoundError No module named requests after trying to fix it with this video
Комментарии