Mailinglist Archive: opensuse-packaging (132 mails)
< Previous | Next > |
[opensuse-packaging] How can I find the python package to satisfy a missing python script dependency?
- From: Dave Plater <dplater.list@xxxxxxxxx>
- Date: Mon, 9 Jan 2017 12:00:47 +0200
- Message-id: <5f0be5cc-84b5-8e87-4bdd-9e076e85d0e5@gmail.com>
The script with this header works on my local machine but fails in obs,
how can I find the python package that provides xml.etree.ElementTree :
import xml.etree.ElementTree as etree
import os
import shutil
import re
from subprocess import call
I've googled xml.etree.ElementTree and found that it exists as ElementTree.py, from that I used find to locate it under /usr/lib64/python2.7/ and used rpm to locate the package which turns out to be "python-xml" but I thought that maybe there was a python tool that could parse the headers and give me the package name.
Thanks
Dave P
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
import xml.etree.ElementTree as etree
import os
import shutil
import re
from subprocess import call
I've googled xml.etree.ElementTree and found that it exists as ElementTree.py, from that I used find to locate it under /usr/lib64/python2.7/ and used rpm to locate the package which turns out to be "python-xml" but I thought that maybe there was a python tool that could parse the headers and give me the package name.
Thanks
Dave P
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
< Previous | Next > |