CIRCL / AIL-framework

AIL framework - Analysis Information Leak framework. Project moved to https://github.com/ail-project
https://github.com/ail-project/ail-framework
GNU Affero General Public License v3.0
1.29k stars 283 forks source link

installing_deps.sh error on Debian 10.6 #531

Closed leolanzi closed 5 months ago

leolanzi commented 3 years ago

Following - I hope - Installation, I get: `INFO: pip is looking at multiple versions of parsel to determine which version is compatible with other requirements. This could take a while. Using cached MarkupSafe-1.0.tar.gz (14 kB) ERROR: Command errored out with exit status 1: command: /opt/git/ail-framework/AILENV/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-n1t9cngk/markupsafe_e5d744798cf14b8ba059ed6103e71da8/setup.py'"'"'; file='"'"'/tmp/pip-install-n1t9cngk/markupsafe_e5d744798cf14b8ba059ed6103e71da8/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-gk69oqsj cwd: /tmp/pip-install-n1t9cngk/markupsafe_e5d744798cf14b8ba059ed6103e71da8/ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-n1t9cngk/markupsafe_e5d744798cf14b8ba059ed6103e71da8/setup.py", line 6, in from setuptools import setup, Extension, Feature ImportError: cannot import name 'Feature' from 'setuptools' (/opt/git/ail-framework/AILENV/lib/python3.7/site-packages/setuptools/init.py)

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.`

Even forcing apip install -r requirements.txt, before or after executing installing_deps.sh, doesn't help.

Thank you!

ChristianPao commented 3 years ago

'Feature' was removed in setuptools version >=46. https://github.com/pypa/setuptools/issues/2017 pip3 install setuptools==45 is a quick fix.

Terrtia commented 5 months ago

Fixed in v5.0