Import azure.servicebus error in Python
<p>I'm using the module azure.servicebus.</p>

<pre><code>from azure.servicebus import ServiceBusService , Message , Queue
</code></pre>

<p>When I use it in an external made script and run it, it works and gives no errors.</p>

<p>When I import the module in my <strong>init</strong>.py file and run the flask server. I get this error:</p>

<pre><code>Traceback (most recent call last):
File "__init__.py", line 35, in &lt;module&gt;
app = server.OpSoRoApplication()
File "/home/pi/OnoSW/server.py", line 101, in __init__
plugin = self.plugin_source.load_plugin(plugin_name)
File "/usr/local/lib/python2.7/dist-packages/pluginbase.py", line 272, in load_plugi           n
globals(), {}, ['__name__'])
File "/usr/local/lib/python2.7/dist-packages/pluginbase.py", line 404, in plugin_imp           ort
fromlist, level)
File "/home/pi/OnoSW/./apps/assistant/__init__.py", line 29, in &lt;module&gt;
import IFTTT
File "/usr/local/lib/python2.7/dist-packages/pluginbase.py", line 404, in plugin_imp           ort
fromlist, level)
File "/home/pi/OnoSW/IFTTT.py", line 1, in &lt;module&gt;
from azure.servicebus import ServiceBusService , Message , Queue
File "/usr/local/lib/python2.7/dist-packages/pluginbase.py", line 404, in plugin_imp           ort
fromlist, level)
File "/usr/local/lib/python2.7/dist-packages/azure/servicebus/__init__.py", line 39,            in &lt;module&gt;
from .servicebusservice import ServiceBusService
File "/usr/local/lib/python2.7/dist-packages/pluginbase.py", line 404, in plugin_imp           ort
fromlist, level)
File "/usr/local/lib/python2.7/dist-packages/azure/servicebus/servicebusservice.py",            line 46, in &lt;module&gt;
from ._common_serialization import (
File "/usr/local/lib/python2.7/dist-packages/pluginbase.py", line 404, in plugin_imp           ort
fromlist, level)
File "/usr/local/lib/python2.7/dist-packages/azure/servicebus/_common_serialization.           py", line 31, in &lt;module&gt;
from xml.sax.saxutils import escape as xml_escape
File "/usr/local/lib/python2.7/dist-packages/pluginbase.py", line 404, in plugin_imp           ort
fromlist, level)
File "/usr/lib/python2.7/xml/sax/__init__.py", line 22, in &lt;module&gt;
from xmlreader import InputSource
File "/usr/local/lib/python2.7/dist-packages/pluginbase.py", line 404, in plugin_imp           ort
fromlist, level)
ImportError: No module named xmlreader
</code></pre>

<p>Can someone help to figure out how I can make it possible to be able to import the azure.servicebus module?</p>

<p>Thanks</p>