问题描述
我正在尝试在Windows 10上安装scrapy,
通过遵循以下教程:
https://docs.scrapy.org/en/latest/intro/tutorial.html
https://www.accordbox.com/blog/scrapy-tutorial-4-how-install-scrapy-windows/
I am trying to install scrapy on Windows 10,
By following these tutorials:
https://docs.scrapy.org/en/latest/intro/tutorial.html
https://www.accordbox.com/blog/scrapy-tutorial-4-how-install-scrapy-windows/
使用conda install -c conda-forge scrapy
与anaconda安装后,我在anaconda提示符下写了"scrapy"和获取:
After installing with anaconda using conda install -c conda-forge scrapy
, I write "scrapy" in anaconda promptand get:
Fatal error in launcher: Unable to create process using '"c:\bld\scrapy_1564100571450\_h_env\python.exe" "C:\Users\Rodzice.Mateusz-PC\Anaconda3\Scripts\scrapy.exe" '
还scrapy -h
产生几乎相同的信息,最后带有-h
also scrapy -h
yields almost the same information, with -h on the end
在cmd中键入scrapy startproject x
会给出
typing scrapy startproject x
in cmd gives
'scrapy' is not recognized as an internal or external command,
operable program or batch file.
我的环境变量没有空格.
我还尝试创建virtualenv并在其中安装scrapy.错误我忘了
Also I have tried creating virtualenv and installing scrapy inside of it. The error i got
我有最新的Microsoft Visual C ++
I have got newest Microsoft Visual C++
推荐答案
以管理员身份运行anaconda提示并安装Scrapy
run anaconda prompt as administrator and install Scrapy
- pip install scrapy
检查版本是否正确安装
- scrapy -v
现在无需管理员即可运行anaconda提示
now run anaconda prompt without administrator
- scrapy startproject示例
这篇关于如何修复“启动器中的致命错误:无法使用* path */scrapy.exe创建进程";在水蟒?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!