Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (108k points)
I want to install lxml with Python (32 bits) 3.5.1, on Windows 7 64 bits. However, I used pip install lxml, for installing lxml, but I got the famous error for missing "vcvarsall.bat".

I have even tried downloading the wheel but I still get the whl file "is not a supported wheel on this platform". Kindly guide me on the same...

1 Answer

0 votes
by (50.2k points)

Kindly be informed that there is a two-step process for that. 

  1. First, visit this repository and download a version that matches your Python installation. 
  2. Now let's say the download directory is d:\Downloads. Python must be in your PATH environment variable for the next step to work. Use a command like the following, changing "D:\Downloads" to the pathname to your download directory. The second step is at the DOS prompt, type:

python -m pip install "D:\Downloads\lxml-3.6.0-cp35-cp35m-win_amd64.whl" lxml-3.6.0-cp35-cp35m-win_amd64.whl

If you want to know more about Python basics then do refer to the below Python tutorial that will help you out in a better way:

Related questions

0 votes
0 answers
asked Feb 18, 2021 by Harsh (1.5k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
4 answers

Browse Categories

...