Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Update] Requirements.txt #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

suyogdahal
Copy link

Requirements-related issues when locally using the app

1. Altair

from streamlit.elements.arrow_altair import ArrowAltairMixin File ".pyenv/versions/3.9.0/envs/ask-multiple-pdfs/lib/python3.9/site-packages/streamlit/elements/arrow_altair.py", line 36, in <module> from altair.vegalite.v4.api import Chart ModuleNotFoundError: No module named 'altair.vegalite.v4'

More discussion about this issue in this thread


2. Tiktoken

File ".pyenv/versions/3.9.0/envs/ask-multiple-pdfs/lib/python3.9/site-packages/langchain/embeddings/openai.py", line 207, in _get_len_safe_embeddings raise ImportError( ImportError: Could not import tiktoken python package. This is needed in order to for OpenAIEmbeddings. Please install it with pip install tiktoken.


Thus added the requirements

  • altair==4.0
  • tiktoken==0.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant