实验过程中偶遇报错,预防忘记进行的一点记录。
如题,安装scrapy后调用scrapy -h进行检验,报错如下:
Fatal error in launcher: Unable to create process using '"D:\Phthon\python.exe" "D:\Python\Scripts\scrapy.exe" -h': ???????????
且安装过程中对pip版本给出warning。
解决方法:更新pip版本后卸载重装,参考(精)配置scrapy时,遇到Fatal error in launcher: Unable to create process using "xxxx"问题解决_Will-kkc的博客-CSDN博客命令行如下:
python -m pip install --upgrade pip
pip uninstall scrapy(出现提示时选择yes)
pip install scrapy