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

[Bug] 'threading' has no attribute '_Condition' on 05-langchain-retrieval-augmentation.ipynb #301

Closed
2 tasks done
scenaristeur opened this issue Dec 24, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@scenaristeur
Copy link

scenaristeur commented Dec 24, 2023

Is this a new bug?

  • I believe this is a new bug
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

from datasets import load_dataset

data = load_dataset("wikipedia", "20220301.simple", split='train[:10000]')
data

Expected Behavior

loading wikipedia dataset

Steps To Reproduce

run https://github.com/pinecone-io/examples/blob/master/learn/generation/langchain/handbook/05-langchain-retrieval-augmentation.ipynb on google colab

Relevant log output

---------------------------------------------------------------------------

AttributeError                            Traceback (most recent call last)

<ipython-input-2-1665814e1737> in <cell line: 1>()
----> 1 from datasets import load_dataset
      2 
      3 data = load_dataset("wikipedia", "20220301.simple", split='train[:10000]')
      4 data

8 frames

/usr/local/lib/python3.10/dist-packages/multiprocess/dummy/__init__.py in <module>
     85 #
     86 
---> 87 class Condition(threading._Condition):
     88     # XXX
     89     if sys.version_info < (3, 0):

AttributeError: module 'threading' has no attribute '_Condition'

Environment

google colab

Additional Context

No response

@scenaristeur scenaristeur added the bug Something isn't working label Dec 24, 2023
@scenaristeur
Copy link
Author

same as #229

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant