lllyasviel / lllyasviel/ControlNet
Unable to install gradio=3.40.1
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.1k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I follow these issues https://github.com/lllyasviel/ControlNet/issues/579 and https://github.com/lllyasviel/ControlNet/issues/475#issuecomment-1649835292, I try to use `pip install gradio==3.40.1`, but it keeps running for a very long time (over 1 hour already) and it just stop progressing when reaching matplotlib
> INFO: pip is looking at multiple versions of contourpy to determine which version is compatible with other requirements. This could take a while.
Using cached contourpy-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (269 kB)
INFO: pip is looking at multiple versions of matplotlib to determine which version is compatible with other requirements. This could take a while.
Collecting matplotlib~=3.0
Using cached matplotlib-3.7.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (9.2 MB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading matplotlib-3.7.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (9.2 MB)
|████████████████████████████████| 9.2 MB 1.4 MB/s
Does anyone have any alternative? I tried installing the latest version of gradio v4.21.0 but it shows this error instead
> Traceback (most recent call last):
File "gradio_canny2image.py", line 74, in
input_image = gr.Image(source='upload', type="numpy")
File "/root/anaconda3/envs/control/lib/python3.8/site-packages/gradio/component_meta.py", line 159, in wrapper
return fn(self, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'source'
Thank you in advance for your help.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported `pip install gradio==3.40.1` resolver slowdown and inspect `gradio_canny2image.py` at line 74 with the reported Gradio version. Compare the referenced ControlNet issues and verify whether the installation completes and the `gr.Image` construction no longer raises the shown `TypeError`; no project tests are mentioned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matplotlib, python
- Domain
- ai, build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100