Streamlit Pycaret No Module Found

I want to deploy this app on streamlit platform but when I did, I got an error :-
ModuleNotFoundError: No module named ‘pycaret’

This work perfectly fine on my local machine, Please help!

Hi @arhamshah, welcome to the Streamlit community!

Your file needs to be named requirements.txt, you are missing the s on the end.

Best,
Randy

Heyy thank you, but I got an error on console saying that :-
Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/tmp/build/80754af9/joblib_1607970656719/work’
Looking forward for your help!

Yes, lines like these won’t work, because they are in reference to your local machine. These will not exist on Streamlit sharing in the same location:

I would suggest you remove all of those /tmp references, but even more than that, make your requirements.txt file represent the actual packages you need to import rather than the entire environment of packages you have installed locally.

Best,
Randy

Thank you for your support buddy.