Help fixing the pandas error.

0 votes

I am unable to import pandas library even after uninstalling and installing python 3.7.1.
Getting the below error - 

ImportError: C extension: No module named 'parsing' not built. If you want to import pandas from the source directory, you may need to run 'python build_ext --inplace --force' to build the C extensions first.

Please let me know how this can be fixed.

Feb 13 in Python by Shiv

1 answer to this question.

0 votes

Try this:

Uninstall python with admin privileges.

Shut down your system.

Restart it.

Then, install python with admin privileges.

Add python to path by selecting the option during installation.

Once installation finishes:

Open a command prompt with admin privileges and then execute:

pip install numpy

pip install pandas

pip install matplotlib

pip install scikit-learn

After that, you will be able to import pandas.

answered Feb 13 by Saru

Related Questions In Python

0 votes
1 answer

Need help writing a dataframe into a csv with the help of a loop

Using the following logic you can arrive ...READ MORE

answered Apr 17, 2018 in Python by anonymous
0 votes
1 answer

Can you help me understand the Global Interpreter Lock in Python

Suppose you have multiple threads which don't really touch ...READ MORE

answered Nov 23, 2018 in Python by ariaholic
• 7,340 points
0 votes
2 answers

Error: Speech to Text Codec cannot decode the bytes in position

import speech_recognition as sr r = sr.Recognizer() audio ='C\Users\Desktop\audiofile1.wav' with ...READ MORE

answered Nov 27, 2018 in Python by Nabarupa Das
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 283 views
+4 votes
6 answers
0 votes
1 answer

How to print a message or the error if a file is not found?

To print the message that file is not ...READ MORE

answered Jan 2 in Python by Omkar
• 67,600 points
0 votes
1 answer