Module does not get installed when deploying

Question:
everything is working fine in repl , in webview
but after i deploy, it can’t find pinecone library
my .replit contains this line run = "pip install -r requirements.txt && streamlit main.py"
pinecone-client is listed in requirements.txt

Repl link/Link to where the bug appears:
https://helpmefindcase.replit.app/
Screenshots, links, or other helpful context:

code snippet

The run button configuration does not also configure deployments. There is a separate configuration for deployments:
https://docs.replit.com/programming-ide/configuring-repl#deployment
In .replit, example:

[deployment]
run = "pip install -r requirements.txt && streamlit main.py"

This topic may be related:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.