-
Notifications
You must be signed in to change notification settings - Fork 23
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
pip install on mac not working #22
Comments
Judging from your first quote block, you seems to be installing bgpstream version 1 using home brew. The pip version of pybgpstream (2.0) supports only libbgpstream v2 (see release note). You should try install v2 bgpstream then try again. Also, the homebrew version is not maintained by CAIDA (yet). With that, I can't reproduce the issue on Mojave where I have libbgpstream v2 installed:
|
Try this most recent release of libbgpstream v2 rc3 here: |
@bhuffaker were you able to fix the issue? |
ping |
no
… On Mar 31, 2020, at 2:29 AM, Mingwei Zhang ***@***.***> wrote:
ping
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#22 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AECPT7LLJ2ZWYRBKKFJTPX3RKDJHZANCNFSM4LC2EHNQ>.
|
I managed to successfully $ brew install bgpstream
...
==> Installing bgpstream
==> Pouring bgpstream--2.2.0.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/bgpstream/2.2.0: 47 files, 1.1MB
...
$ brew list bgpstream
/opt/homebrew/Cellar/bgpstream/2.2.0/bin/bgpreader
/opt/homebrew/Cellar/bgpstream/2.2.0/bin/parsebgp
/opt/homebrew/Cellar/bgpstream/2.2.0/include/ (33 files)
/opt/homebrew/Cellar/bgpstream/2.2.0/lib/libbgpstream.3.dylib
/opt/homebrew/Cellar/bgpstream/2.2.0/lib/libparsebgp.2.dylib
/opt/homebrew/Cellar/bgpstream/2.2.0/lib/ (4 other files)
$ C_INCLUDE_PATH=/opt/homebrew/Cellar/bgpstream/2.2.0/include LIBRARY_PATH=/opt/homebrew/Cellar/bgpstream/2.2.0/lib/ pip install pybgpstream
...
$ python
>>> import pybgpstream
>>> stream = pybgpstream.BGPStream(
collectors=["route-views.sg", "route-views.eqix"],
...
)
>>> Note that Homebrew does now happily install libbgpstream 2. Maintainers, you may want to update the "Coming Soon" on https://bgpstream.caida.org/docs/install/bgpstream#osx to say that it works! |
os: macOS 10.15.3
> python3 temp.py
> pip3 install --upgrade --force-reinstall pybgpstream
>>> import pybgpstream
The text was updated successfully, but these errors were encountered: