from openpyxl.styles import Style, Font ImportError: cannot import name Style
<p>While running a python code, I am facing the following error :</p>

<pre><code>sbassi-mbpro:FacebookEventScraper-master sbassi$ python facebook_event_scraper.py 
Traceback (most recent call last):
  File "facebook_event_scraper.py", line 13, in &lt;module&gt;
    from openpyxl.styles import Style, Font
ImportError: cannot import name Style

python -V
Python 2.7.10
</code></pre>

<p>Looking at the <a href="https://bitbucket.org/openpyxl/openpyxl/src/a4373fb5b471/openpyxl/styles/?at=default" rel="nofollow">source code</a> for openpyxl.styles, the <a href="https://bitbucket.org/openpyxl/openpyxl/src/a4373fb5b471f8dd6000b06e675cf37fe6a0ccad/openpyxl/styles/__init__.py?at=default&amp;fileviewer=file-view-default" rel="nofollow">__init__.py</a> file doesn't define any name: <code>Style</code>.  </p>

<p>Perhaps you were looking for <code>NamedStyle</code> instead?</p>

python openpyxl