Git Product home page Git Product logo

Comments (3)

gleitz avatar gleitz commented on August 15, 2024

It appears that lxml is having trouble installing on 64 bit Windows. I would file an issue with that project and perhaps check out the solution proposed here.

Specifically, I think you need to install lxml from this repo.

from howdoi.

gleitz avatar gleitz commented on August 15, 2024

I'm going to close this issue. Please re-open if you are still having issues.

from howdoi.

Tset-Noitamotua avatar Tset-Noitamotua commented on August 15, 2024

Installation on Windows 10 (64 bit) fails:

  ... 
  Building lxml version 3.5.0.
  Building without Cython.
  ERROR: 'xslt-config' is not recognized as an internal or external command,
  operable program or batch file.

  ** make sure the development packages of libxml2 and libxslt are installed **

  Using build configuration of libxslt
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win32-2.7
  creating build\lib.win32-2.7\lxml
  copying src\lxml\builder.py -> build\lib.win32-2.7\lxml
  copying src\lxml\cssselect.py -> build\lib.win32-2.7\lxml
  copying src\lxml\doctestcompare.py -> build\lib.win32-2.7\lxml
  copying src\lxml\ElementInclude.py -> build\lib.win32-2.7\lxml
  copying src\lxml\pyclasslookup.py -> build\lib.win32-2.7\lxml
  copying src\lxml\sax.py -> build\lib.win32-2.7\lxml
  copying src\lxml\usedoctest.py -> build\lib.win32-2.7\lxml
  copying src\lxml\_elementpath.py -> build\lib.win32-2.7\lxml
  copying src\lxml\__init__.py -> build\lib.win32-2.7\lxml
  creating build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\__init__.py -> build\lib.win32-2.7\lxml\includes
  creating build\lib.win32-2.7\lxml\html
  copying src\lxml\html\builder.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\clean.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\defs.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\diff.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\ElementSoup.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\formfill.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\html5parser.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\soupparser.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\usedoctest.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\_diffcommand.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\_html5builder.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\_setmixin.py -> build\lib.win32-2.7\lxml\html
  copying src\lxml\html\__init__.py -> build\lib.win32-2.7\lxml\html
  creating build\lib.win32-2.7\lxml\isoschematron
  copying src\lxml\isoschematron\__init__.py -> build\lib.win32-2.7\lxml\isoschematron
  copying src\lxml\lxml.etree.h -> build\lib.win32-2.7\lxml
  copying src\lxml\lxml.etree_api.h -> build\lib.win32-2.7\lxml
  copying src\lxml\includes\c14n.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\config.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\dtdvalid.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\etreepublic.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\htmlparser.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\relaxng.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\schematron.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\tree.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\uri.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\xinclude.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\xmlerror.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\xmlparser.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\xmlschema.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\xpath.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\xslt.pxd -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\etree_defs.h -> build\lib.win32-2.7\lxml\includes
  copying src\lxml\includes\lxml-version.h -> build\lib.win32-2.7\lxml\includes
  creating build\lib.win32-2.7\lxml\isoschematron\resources
  creating build\lib.win32-2.7\lxml\isoschematron\resources\rng
  copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win32-2.7\lxml\isoschematron\resources\rng
  creating build\lib.win32-2.7\lxml\isoschematron\resources\xsl
  copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win32-2.7\lxml\isoschematron\resources\xsl
  copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win32-2.7\lxml\isoschematron\resources\xsl
  creating build\lib.win32-2.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
  copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win32-2.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
  copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win32-2.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
  copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win32-2.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
  copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_skeleton_for_xslt1.xsl -> build\lib.win32-2.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
  copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win32-2.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
  copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win32-2.7\lxml\isoschematron\resources\xsl\iso-schematron-xslt1
  running build_ext
  building 'lxml.etree' extension
  error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from http://aka.ms/vcpython27

  ----------------------------------------
  Failed building wheel for lxml
  Running setup.py bdist_wheel for cssselect
  Stored in directory: C:\Users\me\AppData\Local\pip\Cache\wheels\c6\0e\79\ae69bf7b31029e0f0bc5b8306547f94ec3926b7dbb8452b5ea
Successfully built howdoi pyquery requests-cache cssselect
Failed to build lxml
Installing collected packages: lxml, cssselect, pyquery, pygments, requests, requests-cache, howdoi
  Running setup.py install for lxml
    Complete output from command "c:\users\me\envs\howdoi\scripts\python.exe" -c "import setuptools, tokenize;__file__='c:\\users\\me~1\\appdata\\local\\temp\\pip-build-fo2lg0\\lxml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\me~1\appdata\local\temp\pip-n1seda-record\install-record.txt --single-version-externally-managed --compile --install-headers "c:\users\me\envs\howdoi\include\site\python2.7\lxml":
    Building lxml version 3.5.0.
    Building without Cython.
    ERROR: 'xslt-config' is not recognized as an internal or external command,
    operable program or batch file.

    ** make sure the development packages of libxml2 and libxslt are installed **

    Using build configuration of libxslt
    running install
    running build
    running build_py
    copying src\lxml\includes\lxml-version.h -> build\lib.win32-2.7\lxml\includes
    running build_ext
    building 'lxml.etree' extension
    error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from http://aka.ms/vcpython27

    ----------------------------------------
Command ""c:\users\me\envs\howdoi\scripts\python.exe" -c "import setuptools, tokenize;__file__='c:\\users\\me~1\\appdata\\local\\temp\\pip-build-fo2lg0\\lxml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\me~1\appdata\local\temp\pip-n1seda-record\install-record.txt --single-version-externally-managed --compile --install-headers "c:\users\me\envs\howdoi\include\site\python2.7\lxml"" failed with error code 1 in c:\users\me~1\appdata\local\temp\pip-build-fo2lg0\lxml

from howdoi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.