Summary
I guess I made something wrong in the scripting. After created a git for streamlit app, a main.py and a requirements.txt file contains pinecone-client, I getting error:
import Pinecone
ModuleNotFoundError: No module named ‘Pinecone’
###Deploy app process
- Created main.py
requirements.py
connected streamlit and git
installed dependencies
imported, initialized pinecone, loaded a txt
**import Pinecone
# initialize pinecone
pinecone.init(
api_key='ADDED', #
environment='ADDED # next to api key in console
)
index_name = 'llama2-practice' # put in the name of your pinecone index here
docsearch=Pinecone.from_texts([t.page_content for t in docs], embeddings, index_name=index_name)**
If applicable, please provide the steps we should take to reproduce the error or specified behavior.
**Expected behavior:**
I expected to do the vectorizing and indexing.
**Actual behavior:**
Running to an error.
### Debug info
- Streamlit version: (get it with `$ streamlit version`)
- Python version: 1.26.0
Using streamlit connected to github
- OS version: Win 10
- Browser version: Firefox
### Requirements file
pinecone-client
langchain
openai
streamlit
streamlit-chat
tiktoken
chromadb
pysqlite3-binary
transformers
tokenizers>=0.10.3
nltk
sentencepiece
huggingface-hub
sentence-transformers
hugchat==0.0.8
google-cloud-bigquery
### Links
* Link to your GitHub repo: https://github.com/IstvanOlahGit/streamlitt
* Link to your deployed app: https://appt-hgkkm6dqxeghzx7jxhjncq.streamlit.app/
### Additional information
If needed, add any other context about the problem here.