Hi, On 02/16/2018 07:15 AM, John Paul Adrian Glaubitz wrote:
Hi!
I am currently trying to build python-M2Crypto for SLE-12:Update and the build fails with python3 unable to import the "xmlrpc" module:
[ 121s] File "/usr/lib64/python3.4/_import_failed/xmlrpc.py", line 17, in <module> [ 121s] to install it.""".format(__name__, package)) [ 121s] ImportError: Module 'xmlrpc' is not installed.
What's strange about this is that xmlrpc is normally a module that is shipped with Python's standard library. However, looking into the standard library path for python3.4, /usr/lib64/python3.4, the folder "xmlrpc" is missing.
On openSUSE Leap 42.3 # rpm -qf /usr/lib64/python3.4/xmlrpc/server.py python3-3.4.6-11.1.x86_64
Anyone knows what I am overlooking? I had a look at Debian and sure enough, xmlrpc is present in the standard library in the python3.4 package.
Maybe python3 is not part of your BuildRequiers and you only have python3-base? Later, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU Distinguished Architect LINUX Team Lead Public Cloud rjschwei@suse.com IRC: robjo