from jsonrpc.json import loads, dumps, JSONEncodeException, JSONDecodeException
from jsonrpc.proxy import ServiceProxy, JSONRPCException

from json import loads, dumps, JSONEncodeException, JSONDecodeException
from proxy import ServiceProxy, JSONRPCException

Patch for issue #1 : load library in position independent way