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

Missing dependency when installing as guided in the README.md #15

Open
SteveClement opened this issue Oct 10, 2021 · 1 comment
Open

Comments

@SteveClement
Copy link
Member

(venv) misp@misp-test:~/code/mailoney$ pip install git+https://github.com/D4-project/BGP-Ranking.git/#egg=pybgpranking\&subdirectory=client
Collecting pybgpranking
  Cloning https://github.com/D4-project/BGP-Ranking.git/ to /tmp/pip-install-pnqwv90c/pybgpranking_777f9736e6d849e8bb2af02b4252c0fe
  Running command git clone -q https://github.com/D4-project/BGP-Ranking.git/ /tmp/pip-install-pnqwv90c/pybgpranking_777f9736e6d849e8bb2af02b4252c0fe
  Resolved https://github.com/D4-project/BGP-Ranking.git/ to commit 36688e85c17442652b0b893605b50741c01bd62a
Collecting requests
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Requirement already satisfied: charset-normalizer~=2.0.0 in ./venv/lib/python3.8/site-packages (from requests->pybgpranking) (2.0.6)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Using legacy 'setup.py install' for pybgpranking, since package 'wheel' is not installed.
Installing collected packages: urllib3, idna, certifi, requests, pybgpranking
    Running setup.py install for pybgpranking ... done
Successfully installed certifi-2021.10.8 idna-3.2 pybgpranking-0.1 requests-2.26.0 urllib3-1.26.7
(venv) misp@misp-test:~/code/mailoney$ bgpranking
Traceback (most recent call last):
  File "/home/misp/code/mailoney/venv/bin/bgpranking", line 12, in <module>
    from pyipasnhistory import IPASNHistory
ModuleNotFoundError: No module named 'pyipasnhistory'
@Rafiot
Copy link
Contributor

Rafiot commented Oct 10, 2021

Try running pip3 install git+https://github.com/D4-project/IPASN-History.git/#egg=pyipasnhistory\&subdirectory=client from the virtualenv you're in, that should solve it.

(pressed on the wrong button, wasn't meaning to close the issue)

@Rafiot Rafiot closed this as completed Oct 10, 2021
@Rafiot Rafiot reopened this Oct 10, 2021
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

2 participants