When trying to install lxml in python, get error ftp error 200 type set to I
<p>These are the specific error message i got when trying to install lxml in python. I have installed C++ 9.0. Can anyone tell how to fix it? Thanks a lot.</p>

<p>C:\Python27\Scripts></p>

<pre><code>pip install lxml
Collecting lxml
Using cached lxml-3.6.4.tar.gz
    Complete output from command python setup.py egg_info:
    Building lxml version 3.6.4.
    Retrieving "ftp://ftp.zlatkovic.com/pub/libxml/libxslt-   1.1.26.win32.zip" to
"libs\libxslt-1.1.26.win32.zip"
    Traceback (most recent call last):
      File "&lt;string&gt;", line 1, in &lt;module&gt;
      File "c:\users\apple\appdata\local\temp\pip-build-difyii\lxml\setup.py", line 233, in &lt;module&gt;
        **setup_extra_options()
      File "c:\users\apple\appdata\local\temp\pip-build-difyii\lxml\setup.py", line 144, in setup_extra_options
        STATIC_CFLAGS, STATIC_BINARIES)
      File "setupinfo.py", line 55, in ext_modules
        OPTION_DOWNLOAD_DIR, static_include_dirs, static_library_dirs)
      File "buildlibxml.py", line 95, in get_prebuilt_libxml2xslt
        libs = download_and_extract_zlatkovic_binaries(download_dir)
      File "buildlibxml.py", line 55, in download_and_extract_zlatkovic_binaries

        urlretrieve(srcfile, destfile)
      File "c:\python27\lib\urllib.py", line 98, in urlretrieve
        return opener.retrieve(url, filename, reporthook, data)
      File "c:\python27\lib\urllib.py", line 245, in retrieve
        fp = self.open(url, data)
      File "c:\python27\lib\urllib.py", line 213, in open
        return getattr(self, name)(url)
      File "c:\python27\lib\urllib.py", line 558, in open_ftp
        (fp, retrlen) = self.ftpcache[key].retrfile(file, type)
      File "c:\python27\lib\urllib.py", line 906, in retrfile
        conn, retrlen = self.ftp.ntransfercmd(cmd)
      File "c:\python27\lib\ftplib.py", line 334, in ntransfercmd
        host, port = self.makepasv()
      File "c:\python27\lib\ftplib.py", line 312, in makepasv
        host, port = parse227(self.sendcmd('PASV'))
      File "c:\python27\lib\ftplib.py", line 830, in parse227
        raise error_reply, resp
    IOError: [Errno ftp error] 200 Type set to I

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\apple\appdata\local\temp\pip-build-difyii\lxml\
</code></pre>

<p>Add </p>

<p>urlcleanup() </p>

<p>before </p>

<p>File "buildlibxml.py", line 55, in download_and_extract_zlatkovic_binaries</p>

<pre><code>    urlretrieve(srcfile, destfile)
</code></pre>

<p><a href="http://stackoverflow.com/a/39900735/6932850">See Here</a></p>

python ftp lxml