[XML-sig] Problems installing
Barry Duggan
barry at barryduggan.info
Sat May 28 15:43:58 EDT 2016
I am new to PyXML. I am using Ubuntu 16.04
I downloaded PyXML-0.8.4.tar.gz and unzipped it.
Trying to run setup.py I have had the following problems:
When using sudo python setup.py build, I get:
Traceback (most recent call last):
File "setup.py", line 127, in <module>
config_h_vars = parse_config_h(open(config_h))
IOError: [Errno 2] No such file or directory: '/usr/include/python2.7/pyconfig.h'
When using sudo python3 setup.py build, I get:
File "setup.py", line 51
sys.argv.remove(arg)
TabError: inconsistent use of tabs and spaces in indentation
I fixed that and got another one at line 57
I fixed that and got
Traceback (most recent call last):
File "setup.py", line 10, in <module>
from setupext import Data_Files, install_Data_Files, wininst_request_delete
File "/home/barry/Program_Files/PyXML-0.8.4/setupext/__init__.py", line 3, in <module>
from install_data import Data_Files, install_Data_Files
ImportError: No module named 'install_data'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 15, in <module>
import xml.dom, xml.dom.minidom
File "/home/barry/Program_Files/PyXML-0.8.4/xml/dom/__init__.py", line 236, in <module>
import MessageSource
ImportError: No module named 'MessageSource'
So, where do I go from here?
Thanks,
Barry Duggan
Duggan Computer Systems
cell (256) 426-0824
http://barryduggan.info/home.php
More information about the xml-sig
mailing list