I was trying to install Python Scrapy library but when it's trying to install Lxml library, this error appears:
Requirement already up-to-date: pip in c:\python34\lib\site-packages
Collecting lxml
Using cached lxml-3.4.4.tar.gz
Complete output from command python setup.py egg_info:
Building lxml version 3.4.4.
Building without Cython.
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "C:\Users\ALEJAN~1\AppData\Local\Temp\pip-build-b8ysz_w_\lxml\setup.py", line 230, in <module>
**setup_extra_options()
File "C:\Users\ALEJAN~1\AppData\Local\Temp\pip-build-b8ysz_w_\lxml\setup.py", line 144, in setup_extra_options
STATIC_CFLAGS, STATIC_BINARIES)
File "C:\Users\ALEJAN~1\AppData\Local\Temp\pip-build-b8ysz_w_\lxml\setupinfo.py", line 90, in ext_modules
lib_versions = get_library_versions()
File "C:\Users\ALEJAN~1\AppData\Local\Temp\pip-build-b8ysz_w_\lxml\setupinfo.py", line 308, in get_library_version
s
xslt_version = run_command(find_xslt_config(), "--version")
File "C:\Users\ALEJAN~1\AppData\Local\Temp\pip-build-b8ysz_w_\lxml\setupinfo.py", line 283, in run_command
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "C:\Python34\lib\subprocess.py", line 858, in __init__
restore_signals, start_new_session)
File "C:\Python34\lib\subprocess.py", line 1111, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ALEJAN~1\AppData\Local\Temp\pip-build-b8ysz_
w_\lxml
I was checking the directory but everything seems to be ok. Other libraries were installed without errors.
What can I do?
I tried to install just Lxml, but Python shows it's not supported wheel on this platform.