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

error: Could not find suitable distribution for Requirement.parse('zope-interface>=5') #243

Closed
GaspardCulis opened this issue Sep 5, 2023 · 5 comments
Labels
priority: medium medium priority issue or feature solved bugs that have been solved status: in progress the solution is in progress status: review needed review Needed type: bug Something isn't working

Comments

@GaspardCulis
Copy link

GaspardCulis commented Sep 5, 2023

Please, before opening a new issue, please make sure that what you are about to report has not been reported already or is not included on the website FAQ list.

Description of the bug or feature request

Error while installation with a python3.7 virtualenv:

error: Could not find suitable distribution for Requirement.parse('zope-interface>=5')
make: *** [makefile:20: install_env] Error 1

Saw it also happend in commit 5da92d6 build step

To Reproduce

$ git clone https://github.com/P0cL4bs/wifipumpkin3.git
$ cd wifipumpkin3
$ sudo python3.7 -m pip install virtualenv

In root

# virtualenv -p python3.7 venv
# source venv/bin/activate
# make install_env

Expected behavior
Installation completed with this message:

Finished processing dependencies for wifipumpkin3==1.0.0

Screenshots

image

**Desktop (please complete the following information):

  • Wifipumpkin3 version you are using ( wifipumpkin3 --version ). wifipumpkin3==1.1.5 commit ac4aa58
  • Virtual Machine (yes or no and which): No
  • Operating System: Arch btw
  • version: Kernel 6.4.12-zen1-1-zen

** INCOMPLETE REPORT WILL BE CLOSED *

@mh4x0f mh4x0f added the support Questions that needs answering but do not require code label Sep 13, 2023
@mh4x0f
Copy link
Member

mh4x0f commented Sep 13, 2023

try that:

sudo pip3 install zope.interface==6.1a2

@mh4x0f mh4x0f added priority: medium medium priority issue or feature status: review needed review Needed and removed support Questions that needs answering but do not require code labels Sep 13, 2023
@GaspardCulis
Copy link
Author

Same error still after trying both installing before make, and after.
As I said this problem also happens on your side because the same error occurred in the latest commit GH action buildstep

@mh4x0f
Copy link
Member

mh4x0f commented Sep 15, 2023

i saw this.

I `m trying to find a solution for this bug because the problem come from the cryptography dependencies library.

Installed /opt/hostedtoolcache/Python/3.8.17/x64/lib/python3.8/site-packages/cryptography-41.0.3-py3.8-linux-x86_64.egg
Searching for zope-interface>=5

@mh4x0f mh4x0f added the type: bug Something isn't working label Sep 15, 2023
@mh4x0f
Copy link
Member

mh4x0f commented Sep 19, 2023

@GaspardCulis the problem can be solve using the commnad:

sudo pip install .

using setup.py not is possible for now because the problem come from another package from python parser look that.

pypa/setuptools#3153
dhatim/python-license-check#81

but the solution updating for setuptools 62 not working for me. then, i 'll fix using the command above becasue the python setup.py install is deprecated so we have migrated to pyproject.toml.

@GaspardCulis
Copy link
Author

Works like a charm without sudo in a virtualenv

@mh4x0f mh4x0f reopened this Sep 19, 2023
@mh4x0f mh4x0f added status: in progress the solution is in progress solved bugs that have been solved labels Sep 19, 2023
@mh4x0f mh4x0f closed this as completed Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium medium priority issue or feature solved bugs that have been solved status: in progress the solution is in progress status: review needed review Needed type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants