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

How to install wfuzz on Windows (ubu env) #344

Open
drekbad opened this issue Feb 5, 2023 · 1 comment
Open

How to install wfuzz on Windows (ubu env) #344

drekbad opened this issue Feb 5, 2023 · 1 comment

Comments

@drekbad
Copy link

drekbad commented Feb 5, 2023

In various env, particularly what I was finding with Ubuntu env running on Windows (not via VM, but setting up the way you would to get bash in Windows), I was getting errors for:

  • curl-config missing
  • pycurl failure to install

but was able to resolve all of this by doing the following:

I used python3.8:
pip3 install wfuzz

failed bc of missing "curl-config"
# FIXED BY: apt-get install libcurl4-openssl-dev
failed to install pycurl
# FIXED BY: sudo apt-get install libssl-dev libcurl4-openssl-dev python3.8-dev

NOTE: python3.8-dev corresponds to installed ver of python

Finally:
pip3 install wfuzz

Hope this is helpful!

@Joni321pku
Copy link

Collecting wfuzz
Using cached wfuzz-3.1.0-py3-none-any.whl (148 kB)
Collecting chardet
Using cached chardet-5.1.0-py3-none-any.whl (199 kB)
Collecting pycurl
Using cached pycurl-7.45.2.tar.gz (234 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 14, in
File "C:\Users\aldiirsad\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools_init_.py", line 12, in
import setuptools.version
File "C:\Users\aldiirsad\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\version.py", line 1, in
import pkg_resources
File "C:\Users\aldiirsad\AppData\Local\Programs\Python\Python310\lib\site-packages\pkg_resources_init_.py", line 77, in
import('pkg_resources.extern.packaging.requirements')
File "C:\Users\aldiirsad\AppData\Local\Programs\Python\Python310\lib\site-packages\pkg_resources_vendor\packaging\requirements.py", line 9, in
from pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 672, in _load_unlocked
File "", line 632, in load_backward_compatible
File "C:\Users\aldiirsad\AppData\Local\Programs\Python\Python310\lib\site-packages\pkg_resources\extern_init
.py", line 43, in load_module
import(extant)
File "C:\Users\aldiirsad\AppData\Local\Programs\Python\Python310\lib\site-packages\pkg_resources_vendor\pyparsing.py", line 943, in
collections.MutableMapping.register(ParseResults)
AttributeError: module 'collections' has no attribute 'MutableMapping'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

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
@Joni321pku @drekbad and others