Installation fails because zlib is not installed
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 809
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
I am failing to install PyExFill with pip (pip install --user PyExfil) but it fails due to the following error:
➜ pip install --user PyExfil
Collecting PyExfil
Using cached PyExfil-1.10.4.tar.gz (5.2 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: requests>=1.0.0 in /home/oma/.pyenv/versions/3.11.2/lib/python3.11/site-packages (from PyExfil) (2.28.2)
Collecting impacket>=0.9.0 (from PyExfil)
Using cached impacket-0.11.0-py3-none-any.whl
Collecting slackclient (from PyExfil)
Using cached slackclient-2.9.4-py2.py3-none-any.whl (97 kB)
Requirement already satisfied: progressbar in /home/oma/.pyenv/versions/3.11.2/lib/python3.11/site-packages (from PyExfil) (2.5)
INFO: pip is looking at multiple versions of pyexfil to determine which version is compatible with other requirements. This could take a while.
Collecting PyExfil
Using cached PyExfil-1.3-py3-none-any.whl (2.5 kB)
ERROR: Cannot install pyexfil==1.10.4 and pyexfil==1.3 because these package versions have conflicting dependencies.
The conflict is caused by:
pyexfil 1.10.4 depends on zlib
pyexfil 1.3 depends on zlib
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
The zlib library is a module from the standard library (link) and i have installed both packages (zlib1g zlib1g-dev) recommended by different stack overflow questions. So the requirement should be fulfilled.
Info about my system:
- Kali on WSL (Windows subsystem for Linux)
VERSION_ID="2023.3"
VERSION="2023.3"
VERSION_CODENAME=kali-rolling
- Python version:
Python 3.11.2
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 --user PyExfil failure with Python 3.11, then inspect the package metadata generated from setup.py. Check how the releases declare zlib and compare that with Python's standard-library module and the reported pip resolver output. Done means installation no longer treats zlib as an unsatisfied package dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100