Ask coding questions

← Back to all posts
ModuleNotFoundError: No module named 'pandas'
brettstark73 (0)

Hi - I get following error immediately after hitting 'run'. How do I fix pls? Is a project/problem from freecodecamp.

thx

Comments
hotnewtop
RYANTADIPARTHI (6008)

try doing pip install pandas. If it still doesn't work, then it's probably not available in repl.it

Coder100 (17087)

so, in your .replit

# .replit
run = "pip install ; python main.py"
Coder100 (17087)

pip install
add that to your bash

brettstark73 (0)

@Coder100 thanks but not sure how/where to add 'bash' sorry - although after many retries - it looks like it is now running.. and I made no changes. Seems a bug on replit.. just was not installing the packages... now did and runs.