Data Analysis with Python Projects - Medical Data Visualizer

Tell us what’s happening:
Pandas will not import.

I get this error:

" python
Traceback (most recent call last):
  File "", line 2, in <module>
    import medical_data_visualizer
  File "/home/runner/boilerplate-medical-data-visualizer/", line 1, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'
exit status 1"

Your code so far
import pandas as pd (the original code that was already there)

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Data Analysis with Python Projects - Medical Data Visualizer

Link to the challenge:

There’s been several of these threads of late. pandas is not installed, so the project can’t run as python can’t find it since it’s not there. Try the solutions mentioned in any of those thread, most of which involve setting python = ">=3.8" in pyproject.toml uninstalling and reinstalling the dependencies with the package tool.

If that doesn’t work, you’ll have to post a link to your repl.

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