ail-project / ail-framework

AIL framework - Analysis Information Leak framework
GNU Affero General Public License v3.0
561 stars 80 forks source link

Error: A package deprecated requirements.txt #227

Closed off1n3 closed 2 months ago

off1n3 commented 2 months ago

I'm trying to install the AIL-Framework, after run installing_deps.sh and install_virtualenv, I ran pip for install requirements, but pybgpranking is deprecated, the package have alternative or manual way for add and use in the project?

Im using a Ubuntu 22.04.3 LTS jammy

pip3 install -r requirements.txt 
Collecting git+https://github.com/MISP/PyTaxonomies (from -r requirements.txt (line 7))
  Cloning https://github.com/MISP/PyTaxonomies to /tmp/pip-req-build-st3w6fa_
  Running command git clone --filter=blob:none --quiet https://github.com/MISP/PyTaxonomies /tmp/pip-req-build-st3w6fa_
  Resolved https://github.com/MISP/PyTaxonomies to commit 1fb54abcc29f9817f2d40d89034c4d0ee949d5a1
  Running command git submodule update --init --recursive -q
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting git+https://github.com/MISP/PyMISPGalaxies (from -r requirements.txt (line 8))
  Cloning https://github.com/MISP/PyMISPGalaxies to /tmp/pip-req-build-tqs53cab
  Running command git clone --filter=blob:none --quiet https://github.com/MISP/PyMISPGalaxies /tmp/pip-req-build-tqs53cab
  Resolved https://github.com/MISP/PyMISPGalaxies to commit 227cfdb799bb39a496af37a3d00bff21ace16e20
  Running command git submodule update --init --recursive -q
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting git+https://github.com/ail-project/demoji (from -r requirements.txt (line 50))
  Cloning https://github.com/ail-project/demoji to /tmp/pip-req-build-h_ww4igv
  Running command git clone --filter=blob:none --quiet https://github.com/ail-project/demoji /tmp/pip-req-build-h_ww4igv
  Resolved https://github.com/ail-project/demoji to commit 66165c71e26bb647fe4c7caa5f9063ed02807f18
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting https://github.com/saffsd/langid.py/archive/master.zip (from -r requirements.txt (line 95))
  Using cached https://github.com/saffsd/langid.py/archive/master.zip
  Preparing metadata (setup.py) ... done
Collecting pyail
  Using cached pyail-0.0.7-py3-none-any.whl (7.7 kB)
Collecting pylacus
  Using cached pylacus-1.9.0-py3-none-any.whl (6.9 kB)
Collecting pymisp>=2.4.144
  Using cached pymisp-2.4.193-py3-none-any.whl (592 kB)
Collecting d4-pyclient>=0.1.6
  Using cached d4_pyclient-0.1.7-py3-none-any.whl (6.0 kB)
Collecting thehive4py
  Using cached thehive4py-1.8.1-py3-none-any.whl (32 kB)
Collecting redis>4.4.4
  Using cached redis-5.0.6-py3-none-any.whl (252 kB)
Collecting python-magic>0.4.15
  Using cached python_magic-0.4.27-py2.py3-none-any.whl (13 kB)
Collecting yara-python>4.0.2
  Using cached yara_python-4.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
Collecting websockets>9.0
  Using cached websockets-12.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (130 kB)
Collecting crcmod
  Using cached crcmod-1.7-cp310-cp310-linux_x86_64.whl
Collecting mmh3>2.5
  Using cached mmh3-4.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (67 kB)
Collecting ssdeep>3.3
  Using cached ssdeep-3.4-cp310-cp310-linux_x86_64.whl
Collecting xxhash>3.1.0
  Using cached xxhash-3.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (194 kB)
Collecting zmq
  Using cached zmq-0.0.0-py3-none-any.whl
Collecting pyzmq>19.0.0
  Using cached pyzmq-26.0.3-cp310-cp310-manylinux_2_28_x86_64.whl (919 kB)
Collecting logbook
  Using cached Logbook-1.7.0.post0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (490 kB)
Collecting pubsublogger
  Using cached pubsublogger-1.2.7-py3-none-any.whl (7.3 kB)
Collecting nltk>3.4.5
  Using cached nltk-3.8.1-py3-none-any.whl (1.5 MB)
Collecting textblob>=0.15.3
  Using cached textblob-0.18.0.post0-py3-none-any.whl (626 kB)
Collecting html2text>=2020.1.16
  Using cached html2text-2024.2.26-py3-none-any.whl
Collecting beautifulsoup4>4.8.2
  Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Collecting scrapy>2.0.0
  Using cached Scrapy-2.11.2-py2.py3-none-any.whl (290 kB)
Collecting scrapy-splash>=0.7.2
  Using cached scrapy_splash-0.9.0-py2.py3-none-any.whl (27 kB)
Collecting gcld3
  Using cached gcld3-3.0.13-cp310-cp310-linux_x86_64.whl
Collecting libretranslatepy
  Using cached libretranslatepy-2.1.4-py3-none-any.whl (3.5 kB)
Collecting lexilang
  Using cached LexiLang-1.0.2-py3-none-any.whl (1.6 MB)
Requirement already satisfied: numpy>1.18.1 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 53)) (1.21.5)
Collecting matplotlib>3.2.1
  Using cached matplotlib-3.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB)
Collecting networkx>2.4
  Using cached networkx-3.3-py3-none-any.whl (1.7 MB)
Collecting asciimatics>=1.11.0
  Using cached asciimatics-1.15.0-py3-none-any.whl (137 kB)
Collecting psutil>=5.7.0
  Using cached psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (288 kB)
Requirement already satisfied: colorama>=0.4.4 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 61)) (0.4.4)
Collecting python-Levenshtein>=0.12.2
  Using cached python_Levenshtein-0.25.1-py3-none-any.whl (9.4 kB)
ERROR: Could not find a version that satisfies the requirement pybgpranking (from versions: none)
off1n3 commented 2 months ago

Sorry, I did a deep investigation about the package, in pypi and git project BGP say $ pip install git+https://github.com/D4-project/BGP-Ranking.git/#egg=pybgpranking\&subdirectory=client it not work for egg pybgpranking and not bgpranking and say not found without egg.

But work with git clone https://github.com/D4-project/BGP-Ranking cd BGP-Ranking pip install .

If someone got same error can try with it.