title: ImportError: DLL load failed while importing etree: The parameter is incorrect
body: <p>I am trying to import and use the docx module but it gives me the following error:</p>
  <pre><code>&gt;&gt;&gt; from docx import Document
  Traceback (most recent call last):
    File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
    File &quot;.\docx\__init__.py&quot;, line 3, in &lt;module&gt;
      from docx.api import Document  # noqa
    File &quot;.\docx\api.py&quot;, line 14, in &lt;module&gt;
      from docx.package import Package
    File &quot;.\docx\package.py&quot;, line 9, in &lt;module&gt;
      from docx.opc.package import OpcPackage
    File &quot;.\docx\opc\package.py&quot;, line 9, in &lt;module&gt;
      from docx.opc.part import PartFactory
    File &quot;.\docx\opc\part.py&quot;, line 12, in &lt;module&gt;
      from .oxml import serialize_part_xml
    File &quot;.\docx\opc\oxml.py&quot;, line 12, in &lt;module&gt;
      from lxml import etree
  ImportError: DLL load failed while importing etree: The parameter is incorrect.
  </code></pre>
  <p>I am not sure what the problem is because it was working fine before, but suddenly it has started giving this error. I have tried uninstalling and reinstalling lxml, but it didn't change anything. I then uninstalled and reinstalled docx and it gives me this (very similar) error instead:</p>
  <pre><code>from docx import Document
  Traceback (most recent call last):
    File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
    File &quot;.\docx.py&quot;, line 17, in &lt;module&gt;
      from lxml import etree
  ImportError: DLL load failed while importing etree: The parameter is incorrect.
  </code></pre>
  <p>if I try 'pip show lxml' this is the result:</p>
  <pre><code>C:\Users\Radha Muthuswamy&gt;pip show lxml
  Name: lxml
  Version: 4.5.2
  Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
  Home-page: https://lxml.de/
  Author: lxml dev team
  Author-email: lxml-dev@lxml.de
  License: BSD
  Location: c:\users\radha muthuswamy\appdata\local\programs\python\python38-32\lib\site-packages
  Requires:
  Required-by: docx
  </code></pre>
  <p>I need this software working soon, so please any help would be appreciated, thanks :)</p>