Closed lobax closed 4 years ago
Using Python 3 ad running pip3 install -r requirements.txt fails to install a dependency and produces the following error:
pip3 install -r requirements.txt
WARNING: Generating metadata for package kittyfuzzer produced metadata for project name kittyfuzzer-remote. Fix your #egg=kittyfuzzer fragments.
Which leads to the following error when running fuzzer.py with python3:
fuzzer.py
File "fuzzer.py", line 15, in <module> from kitty.interfaces import WebInterface ModuleNotFoundError: No module named 'kitty.interfaces'
The error can be reproduced with the following dockerfile and running the command docker build . -t api-fuzzer; docker run -it api-fuzzer
docker build . -t api-fuzzer; docker run -it api-fuzzer
FROM alpine:3.7 RUN apk add --no-cache git && \ apk add --no-cache python3 && \ python3 -m ensurepip && \ rm -r /usr/lib/python*/ensurepip && \ pip3 install --upgrade pip setuptools && \ rm -r /root/.cache RUN git clone https://github.com/KissPeter/APIFuzzer.git /root/APIFuzzer RUN pip3 install -r /root/APIFuzzer/requirements.txt WORKDIR /root/APIFuzzer ENTRYPOINT python3 fuzzer.py
Hi, Thank you, I will take a look on it soon.
This issues appear to have been fixed and don't occur anymore.
Using Python 3 ad running
pip3 install -r requirements.txt
fails to install a dependency and produces the following error:Which leads to the following error when running
fuzzer.py
with python3:The error can be reproduced with the following dockerfile and running the command
docker build . -t api-fuzzer; docker run -it api-fuzzer