Medical Data Visualizer

i kept getting this error while trying to work on the assignment.


Replit: Updating package configuration

--> python3 -m poetry add numpy matplotlib
Using version ^1.23.2 for numpy
Using version ^3.5.3 for matplotlib

Updating dependencies
Resolving dependencies...

  SolverProblemError

  The current project's Python requirement (>=3.7,<4.0) is not compatible with some of the required packages Python requirement:
    - numpy requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  
  Because numpy (1.23.2) requires Python >=3.8
   and no versions of numpy match >1.23.2,<2.0.0, numpy is forbidden.
 python main.py
Traceback (most recent call last):
  File "main.py", line 2, in <module>
    import medical_data_visualizer
  File "/home/runner/boilerplate-medical-data-visualizer/medical_data_visualizer.py", line 1, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'
exit status 1

Please Help.

Try changing required python version in the pyproject.toml file to ^3.8. If that doesn’t work, please link to your replit.

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