I run into the following issue during installation, running make install-dependencies:
source .venv/bin/activate && PYTHONPATH=. python3 docker/generate_makefile.py docker/generated.mk
Traceback (most recent call last):
File "/home/ubuntu/fuzzbench/docker/generate_makefile.py", line 20, in <module>
from common import benchmark_utils
File "/home/ubuntu/fuzzbench/common/benchmark_utils.py", line 22, in <module>
from common import logs
File "/home/ubuntu/fuzzbench/common/logs.py", line 23, in <module>
import google.cloud.logging
File "/home/ubuntu/fuzzbench/.venv/lib/python3.10/site-packages/google/cloud/logging/__init__.py", line 18, in <module>
from google.cloud.logging_v2 import __version__
File "/home/ubuntu/fuzzbench/.venv/lib/python3.10/site-packages/google/cloud/logging_v2/__init__.py", line 17, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Makefile:45: docker/generated.mk: No such file or directory
make: *** [Makefile:57: docker/generated.mk] Error 1
The problem here is that setuptools version 84.0.0 does not support pkg_resources. Here my current version:
(.venv) ubuntu@ubuntu:~/fuzzbench$ pip install setuptools
Requirement already satisfied: setuptools in ./.venv/lib/python3.10/site-packages (84.0.0)
I solved the problem installing setuptools<70 in the virtual environment:
(.venv) ubuntu@ubuntu:~/fuzzbench$ pip install "setuptools<70"
You could fix it in your Makefile like:
${VENV_ACTIVATE}: requirements.txt
python3.10 -m venv .venv || python3 -m venv .venv
source ${VENV_ACTIVATE} && python3 -m pip install "setuptools<70" && python3 -m pip install -r requirements.txt
Please check yourself which version of setuptools you want to use.
I run into the following issue during installation, running make install-dependencies:
The problem here is that setuptools version 84.0.0 does not support pkg_resources. Here my current version:
I solved the problem installing setuptools<70 in the virtual environment:
You could fix it in your Makefile like:
Please check yourself which version of setuptools you want to use.