I tried to test my sea-level code but it doesn´t work because it can not import pandas:
python main.py
Traceback (most recent call last):
File “main.py”, line 2, in
import sea_level_predictor
File “/home/runner/boilerplate-sea-level-predictor-2/sea_level_predictor.py”, line 1, in
import pandas as pd
ModuleNotFoundError: No module named ‘pandas’
exit status 1
You’ll have to post a link to a repl or some code for real assistance. If this error is generated when trying to run your code on replit.com, then a search of the forum will yield numerous threads on how to fix your dependencies.
Thanks, I install the missing package in the shell command. I did not think that I can do this. That fixed the problem
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.