执行exabgp命令时出现ImportError

时间:2018-12-18 14:21:35

标签: python bgp

我目前正在使用Centos 7和Python 2.7.5。我安装了exabgp 4.0和python2-exabgp rpm。但是一旦执行exabgp命令,我就会得到ImportError:

    [root@~]# exabgp -version
    Traceback (most recent call last):
    File "/sbin/exabgp", line 9, in <module>
    load_entry_point('exabgp==4.0.1', 'console_scripts', 'exabgp')()
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
         return get_distribution(dist).load_entry_point(group, name)
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
         return ep.load()
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
         entry = __import__(self.module_name, globals(),globals(),     ['__name__'])
    ImportError: No module named exabgp.application

0 个答案:

没有答案