#๐Ÿ”’ error while deploying model on streamlit

15 messages ยท Page 1 of 1 (latest)

rose cipher
#

i have installed all libraries but while deploying on streamlit cloud its showing "no module matplotlib"

tacit anvilBOT
#

@rose cipher

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

spiral spire
#

are you sure that matplotlib installed in your environment?

rose cipher
#

yes

#

how can i validate that

spiral spire
#

run pip list in your environment

rose cipher
#

i think i should put a requirements.txt including the packages

#

lemme try that

spiral spire
rose cipher
#

nope

#

i have installed now

spiral spire
#

it doesnt necessarily need to be in requirements.txt since streamlit doesnt run your code on their servers. All your code is running on your machine so you need matplotlib on your env

rose cipher
#

Okk will let you know

tacit anvilBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.