Skip to content Skip to sidebar Skip to footer

Python Install Xmlrpclib

I'm in a virtualenv and trying to run a script I get the following: Traceback (most recent call last): File 'blah.py', line 15, in from xmlrpc import server Im

Solution 1:

The answer is that the module xmlrpc is part of python3, not python2.x

details: https://docs.python.org/3/library/xmlrpc.server.html

Should already be installed, just go ahead and use it.

Solution 2:

I'm not sure if pip provides this lib. Just download xmlrpclib from here http://effbot.org/downloads/#xmlrpclib, unpack it and then run:

python3 setup.py build
python3 setup.py install

Solution 3:

If you are using python 2.x then xmlrpclib is part of standard lib. No need of installing it.

Anyway you can download xmlrpclib from http://effbot.org

Solution 4:

I believe the answer to your question can be found here.

Try adding --allow-unverified to your last command.

EDIT: I think your import statement is wrong. The module is called xmlrpclib, not xmlrpc

Solution 5:

Be sure to use the correct interpreter. xmlrpc is part of python3, using python3 interpreter.

Post a Comment for "Python Install Xmlrpclib"