Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to use xlrd, But I am facing following error ImportError: No module named ‘xlrd’ in Python. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
- How ImportError: No module named psycopg2 Error Occurs ?
- How To Solve ImportError: No module named psycopg2 Error ?
- Solution 1: For Python 3 With Pip Users
- Solution 2: For Python 2 With Pip Users
- Solution 3: For Pip Users
- Solution 4: For Python 3 Users
- Solution 5: For Python 2 Users
- Solution 6: For Python Users
- Solution 7: For Linux Users
- Summary
How ImportError: No module named psycopg2 Error Occurs ?
I am trying to use xlrd, But I am facing following error.
ImportError: No module named 'xlrd'
How To Solve ImportError: No module named psycopg2 Error ?
- How To Solve ImportError: No module named psycopg2 Error ?
To Solve ImportError: No module named psycopg2 Error If You are using Python 3 With Pip Then Just Run this command in your Terminal: pip3 install xlrd If You are using Python 3 With Pip Then Just Run this command in your Terminal: pip2 install xlrd Now, Your Error must be solved.
- ImportError: No module named ‘xlrd’
To Solve ImportError: No module named psycopg2 Error If You are using Python 3 With Pip Then Just Run this command in your Terminal: pip3 install xlrd If You are using Python 3 With Pip Then Just Run this command in your Terminal: pip2 install xlrd Now, Your Error must be solved.
Solution 1: For Python 3 With Pip Users
If You are using Python 3 With Pip Then Just Run this command in your Terminal.
pip3 install xlrd
Solution 2: For Python 2 With Pip Users
If You are using Python 3 With Pip Then Just Run this command in your Terminal.
pip2 install xlrd
Solution 3: For Pip Users
If You are using Python 3 With Pip Then Just Run this command in your Terminal.
pip install xlrd
Solution 4: For Python 3 Users
If You are using Python 3 With Pip Then Just Run this command in your Terminal.
python3 -m pip install xlrd
Solution 5: For Python 2 Users
If You are using Python 3 With Pip Then Just Run this command in your Terminal.
python2 -m pip install xlrd
Solution 6: For Python Users
If You are using Python 3 With Pip Then Just Run this command in your Terminal.
python -m pip install xlrd
Solution 7: For Linux Users
If You are using Python 3 With Pip Then Just Run this command in your Terminal.
sudo pip3 install xlrd
Now, Your Error must be solved
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read