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

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

Closed
honnuanand opened this issue Jun 30, 2023 · 1 comment
Closed

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

honnuanand opened this issue Jun 30, 2023 · 1 comment
Labels

Comments

@honnuanand
Copy link

Describe the current behavior
I am having an issue importing a library.
This notebook link : https://github.com/pinecone-io/examples/blob/master/generation/langchain/handbook/05-langchain-retrieval-augmentation.ipynb

https://www.pinecone.io/learn/langchain-retrieval-augmentation/

Error :

AttributeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from datasets import load_dataset
2 data = load_dataset("wikipedia", "20220301.simple", split='train[:10000]')
3 data
4
5 # from datasets import list_datasets

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

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

refered in.
Describe the expected behavior
I ran this on my local machine, I have no issues .
What web browser you are using
I am on Chrome
(Chrome, Firefox, Safari, etc.)

Additional context
Link to a minimal, public, self-contained notebook that reproduces this issue.

  • Share the file using your GitHub account using File > Save a copy as a GitHub Gist.
  • or Share Drive notebooks using the Share button then 'Get Shareable Link'.
@honnuanand honnuanand added the bug label Jun 30, 2023
@mayankmalik-colab
Copy link
Contributor

This doesn't seem like Colab specific issue. It seems like the issue is from apache/beam#24458. Please follow that discussion for help.

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

No branches or pull requests

3 participants