Hello! I want to put grab and lxml including on my python3.4.

I go to cmd writing pip install grab. It gives an error message that the compiler is supposedly not installed as I understand it, although I have different versions of ms visual c ++ 2010 2013 2012 2015. Screenshot below). What is the salt?

enter image description here

    2 answers 2

    In the English SO segment, there are already several solutions to this problem. Read here

    If you have difficulties with English, write in the comments to my answer.

    • Thank! I have no problems with English, but others probably have :) The link you gave leads I would say on the “basket” with a bunch of solutions, tried the most popular but did not help) Continue searching in the same topic - Amaroc
    • Mstislav, even though I managed to put lxml as I wrote above, but there are various kinds of errors, for example etree and fromstring are not imported from lxml (they are simply not there). If you have solved a problem with a compilation error that requests Microsoft Visual C ++ 10.0, then advise what to do. Since nothing from the English segment of CO helped me. - Amaroc

    UDPATE solutions: download Microsoft Express Visual C ++ 10.0 here, then the error disappears. But further errors may occur. Put Anaconda there most of the required libraries are either installed or installed on one line without suffering.

    Windows 8 64-bit Python 3.4 system

    I found a solution to my problem, as Mstislav Pavlov wrote above, there is a solution in the “English” SO, but there is such a mess that you kill 2-3-4 hours and the result is 0. As a result, the advice — installing the “binary” library already compiled — turned out to be useful I understand.

    So the following actions (almost translate the advice from this original removing all unnecessary):

    1. Download the already compiled lxml plugin (well, apparently the library).

    pypi.python.org/pypi/lxml/3.3.5#downloads

    • compiled - for Windows, with the .exe extension at the end!

    If you need another version you can choose its directory above

    If you have a 64 bit system, then you can get the "unofficial" version for x64

    www.lfd.uci.edu/~gohlke/pythonlibs/#lxml

    ** this is what the author of the "original English text" used, I had python32 on 64 bit Windows, and I downloaded the first link lxml-3.5.0.win32-py3.2 *

    Press the Windows key + R, type cmd, press Enter (comandline starts). I downloaded the archive to the Z: drive (you can have D: for example), for this we type: z: click the enter (change the drive), then go to the directory where the .exe file was downloaded with the command: cd z: \ your_dir_dir \ download \ press enter. Further, if everything is ok (you can check the presence of the file with the dir command), we write easy_install lxml-3.5.0.win32-py3.2.exe enter. Correspondingly, lxml-3.5.0.win32-py3.2 - don't forget to copy from the version (file) you downloaded.

    PS: links for now I can not draw - not enough reputation - copy \ paste please!

    • Mark your answer - "correct" (a tick opposite your answer) - Mstislav Pavlov