python3 -v from exabgp application import run_exabgp usr local lib pyt

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# python3 -v
...
>>> from exabgp.application import run_exabgp
# /usr/local/lib/python3.6/site-packages/exabgp/__pycache__/__init__.cpython-36.pyc matches /usr/local/lib/python3.6/site-packages/exabgp/__init__.py
# code object from '/usr/local/lib/python3.6/site-packages/exabgp/__pycache__/__init__.cpython-36.pyc'
import 'exabgp' # <_frozen_importlib_external.SourceFileLoader object at 0x7f0dbc7b6eb8>
# /usr/local/lib/python3.6/site-packages/exabgp/application/__pycache__/__init__.cpython-36.pyc matches /usr/local/lib/python3.6/site-packages/exabgp/application/__init__.py
# code object from '/usr/local/lib/python3.6/site-packages/exabgp/application/__pycache__/__init__.cpython-36.pyc'
import 'exabgp.application' # <_frozen_importlib_external.SourceFileLoader object at 0x7f0dbc0ca128>
...
$ python3 -v
...
>>> from exabgp.application import run_exabgp
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'exabgp'