[XML-sig] Problems installing
Arc Riley
arcriley at gmail.com
Sat May 28 16:59:33 EDT 2016
Py-XML has been replaced by built in modules that you already have with
Python 2.7
There's also lxml and nodetree for more advanced uses
On May 28, 2016 2:44 PM, "Barry Duggan" <barry at barryduggan.info> wrote:
> 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
>
>
> _______________________________________________
> xml-sig mailing list
> xml-sig at python.org
> https://mail.python.org/mailman/listinfo/xml-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20160528/74a5abcd/attachment.html>
More information about the xml-sig
mailing list