我目前正在使用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