meta-pytorch / meta-pytorch/data

urllib3 version issues when install via `python setup.py develop`

Open
#1,054 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.3k
Forks
179
Avg merge
6d 1h
Merged PRs (30d)
2

Description

When running python setup.py develop (after having already gone through the installation) I get:
error: urllib3 2.0.0a3 is installed but urllib3<1.27,>=1.21.1 is required by {'requests'}
but in the requirements file we have: urllib3 >= 1.25.

Originally posted by @SvenDS9 in https://github.com/pytorch/data/issues/1053#issuecomment-1446459395

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the requirements file mentioned in the report and compare its urllib3 constraint with the version required by requests during python setup.py develop. Reproduce the installation conflict, then verify that the dependency constraints are compatible and the develop command completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.