pynetlinux
pynetlinux copied to clipboard
import fails in python3
import pynetlinux
fails in python3.4, Ubuntu 14.04:
ImportError: No module named 'brctl'
I fix it by edit the pynetlinux/init.py file. Simple add some code on the top
import sys
sys.path.append('pathto/site-packages/pynetlinux')
same issue, the solution did not worked for me :-(
pynetlinux/init.py,删掉import或者全部注释,init文件可以为空