|
|
2鱼币
第一步下载了Scrapy-1.1.3-py2.py3-none-any.whl这个文件后,用pip install 安装就出现了这个问题
running build_ext
building 'lxml.etree' extension
error: [WinError 2] 系统找不到指定的文件。
----------------------------------------
Command "c:\users\lenovo\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\lenovo\\AppData\\Local\\Temp\\pip-build-518bg8wj\\lxml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\lenovo\AppData\Local\Temp\pip-aq177d74-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\lenovo\AppData\Local\Temp\pip-build-518bg8wj\lxml\ |
最佳答案
查看完整内容
把Python安装目录中,此路径中的 dll,复制到 系统路径的 system32 文件夹里。
|