0

I've confirmed the pyjanitor package is installed - it shows up in pip list and I get a confirmation if I try to reinstall with pip install pyjanitor. But then when I run import pyjanitor I get the error:

No module named 'pyjanitor'

What am I doing wrong?

1 Answer 1

0

The package name is pyjanitor but it is imported as janitor:

import janitor

This is a case of this phenomenon: Why are some Python package names different than their import name?

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.