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

Upload a Requirements.txt? #1

Open
benmcmaster opened this issue Dec 11, 2023 · 2 comments
Open

Upload a Requirements.txt? #1

benmcmaster opened this issue Dec 11, 2023 · 2 comments

Comments

@benmcmaster
Copy link

It's been a few months since this course was created, and it's hard to do this course without knowing the versions. For some reason, in 01_document_loading, the !pip freeze command isn't working on this deeplearning.ai embedded notebook...

It would be great if there was a requirements.txt associated with this repo... Is there a better way to get the versions of all of the packages?

@benmcmaster
Copy link
Author

In 01_document_loading, I'm getting this issue:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[10], line 2
      1 from langchain.document_loaders.generic import GenericLoader
----> 2 from langchain.document_loaders.parsers import OpenAIWhisperParser
      3 from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader

ImportError: cannot import name 'OpenAIWhisperParser' from 'langchain.document_loaders.parsers' (/Users/<user>/miniconda3/envs/deeplearningai/lib/python3.11/site-packages/langchain/document_loaders/parsers/__init__.py)

My deeplearning environment has langchain version 0.0.179.

@benmcmaster
Copy link
Author

Scratch that... I just did a pip freeze instead of !pip freeze inside of the embedded notebook and it worked. It looks like I need to upgrade langchain to 0.0.213.

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

No branches or pull requests

1 participant