How can I use pip install in my code for deploying

I have
pip install praw and
pip install tweepy
in my code and it throws a error saying no module named praw

Please give us a bit more context.
Are we talking about streamlit sharing?
What is in your requirements.txt file?
Share a link to your public repo?

Thank you so much for your reply but it worked I had not properly mentioned the library version in the requirements.txt

1 Like