Data Analysis with Python Projects - Demographic Data Analyzer

Tell us what’s happening:
I’m having trouble with the replit testing. When I try to test my code with the Run button, I get an error for line 1 which reads "ModuleNotFoundError: No module named ‘pandas.’ When I look at Packages in the Tools menu, it shows Pandas is installed. I’m not sure what the problem is or how to proceed.

Your code so far
import pandas as pd

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0

Challenge: Data Analysis with Python Projects - Demographic Data Analyzer

Link to the challenge:

Seems to have worked itself out after a couple of hours. Perhaps some kind of bug with replit.

If you read the auto-install part of Packages it says it will install packages automatically that will be ready next time you load it.

Otherwise you can type “pip install pandas” at the Shell command prompt for other packages you might need to install

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.