Skip to content

Conversation

@0xffset
Copy link

@0xffset 0xffset commented Oct 30, 2024

I'm sorry for submitting multiple pull requests with the same proposal. I had an organizational email account that did not have CLA Google verification. 🤦‍♂️

gradio==5.4.0
ipython==8.12.3
matplotlib==3.9.2
numpy==2.1.2
Copy link
Contributor

@CharlieLeee CharlieLeee Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the pr, I tested on my local machine, and using this version of numpy leads to

ERROR: Cannot install -r requirements.txt (line 10), -r requirements.txt (line 2), -r requirements.txt (line 4) and numpy==2.1.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested numpy==2.1.2
    gradio 5.4.0 depends on numpy<3.0 and >=1.0
    matplotlib 3.9.2 depends on numpy>=1.23
    tensorflow 2.15.0 depends on numpy<2.0.0 and >=1.23.5

At the moment we recommend using Google Colab, together with our colab file which includes all necessary dependency installations to help you get started.

This list might work but it's not thoroughly tested:

gdown==5.2.0
gradio==5.4.0
jupyter
matplotlib==3.7.1
numpy==1.26.4
Pillow==10.4.0
pytesseract==0.3.13
Requests==2.32.3
tensorflow==2.15.0
tensorflow_text==2.15.0
tqdm==4.66.6

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.

2 participants