Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails because zlib is not installed #23

Open
MagnusOffermanns opened this issue Nov 16, 2023 · 3 comments
Open

Installation fails because zlib is not installed #23

MagnusOffermanns opened this issue Nov 16, 2023 · 3 comments

Comments

@MagnusOffermanns
Copy link

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
@ytisf
Copy link
Owner

ytisf commented Jul 17, 2024

Hey @MagnusOffermanns . Thanks for this.
Issue was supposed to be fixed on Python3 due to requirements3.txt. Python2 does need the zlib import but on 3 it's built in. Can you kindly confirm?

@MagnusOffermanns
Copy link
Author

MagnusOffermanns commented Jul 20, 2024

Unfortunately, I am still encountering the problem. I am installing PyExfill in a new environment.

I have updated my Python to:

  • Python 3.11.9

image

@nitsewg
Copy link

nitsewg commented Sep 11, 2024

Bump. I'm having this same issue trying to pip install the package.

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

No branches or pull requests

3 participants