ImportError: No module named _elementtree
Good evening...
Trying to build x11/libxcb on FreeBSD 9.0 amd64 as it is needed by Cacti, which gives me following error:
If I list the modules in Python I see that the corresponding module is listed with a "_failed" in the end:
Any hint on how to resolve this problem?
Good evening...
Trying to build x11/libxcb on FreeBSD 9.0 amd64 as it is needed by Cacti, which gives me following error:
Code:
/usr/local/bin/python2.7 ./c_client.py -p /usr/local/lib/python2.7/site-packages /usr/local/share/xcb/xproto.xml
Traceback (most recent call last):
File "./c_client.py", line 2, in <module>
from xml.etree.cElementTree import *
File "/usr/local/lib/python2.7/xml/etree/cElementTree.py", line 3, in <module>
from _elementtree import *
ImportError: No module named _elementtree
gmake[1]: *** [xproto.c] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/libxcb/work/libxcb-1.7/src'
If I list the modules in Python I see that the corresponding module is listed with a "_failed" in the end:
Code:
help> modules element
Here is a list of matching modules. Enter any module name to get more help.
xml.etree.ElementInclude
xml.etree.ElementPath
xml.etree.ElementTree
xml.etree.cElementTree
_elementtree_failed
Any hint on how to resolve this problem?