indygreg / indygreg/PyOxidizer
failed in exe.add_python_resources(exe.pip_download(["cmd2"]))
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 256
- PR merge metrics
- No merged PRs in 30d
Description
exe.add_python_resources(exe.pip_download(["cmd2"]))
caused the following error:
`
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
error[PYOXIDIZER_PYTHON_EXECUTABLE]: calling pip download
Caused by:
error running pip
--> ./pyoxidizer.bzl:243:30
|
243 | exe.add_python_resources(exe.pip_download(["cmd2"]))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ PythonExecutable.pip_download()
error: calling pip download
`
My environment has Python cmd2 installed, as shown below, and the dependency requirement is satisfiled.
`
pip3 install cmd2
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: cmd2 in /home/xiang/.local/lib/python3.10/site-packages (2.4.1)
Requirement already satisfied: wcwidth>=0.1.7 in /home/xiang/.local/lib/python3.10/site-packages (from cmd2) (0.2.5)
Requirement already satisfied: attrs>=16.3.0 in /home/xiang/.local/lib/python3.10/site-packages (from cmd2) (21.4.0)
Requirement already satisfied: pyperclip>=1.6 in /home/xiang/.local/lib/python3.10/site-packages (from cmd2) (1.8.2)
`
any idea? Thanks!
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 at pyoxidizer.bzl:243 and the PythonExecutable.pip_download() call, then reproduce the cmd2 failure while reviewing the pip resolver output. Done means identifying why dependency resolution fails despite cmd2 being installed and documenting or implementing a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100