Fatal error in launcher: Unable to create process using '"d:\bld\scrapy_1584555997548\_h_env\python.

every blog every motto: Don’t worry about the vague future, just strive for the clear present.

0. 前言

安装scrapy遇到的问题,小结。
报错:

Fatal error in launcher: Unable to create process using '"d:\bld\scrapy_1584555997548\_h_env\python.exe" 

1. 正文

1. 问题

用如下命令安装

conda install scrapy

验证,anconda终端输入如下

scrapy

返回
在这里插入图片描述

2. 解决方法

方法1:

scrapy 1.6 以后,这应该是一个bug[1],也就是说,你可能已经安装成功了,换另一个验证方法,如下

python -m scrapy

结果如下:
在这里插入图片描述

方法2:

pip install scrapy

注: 此方法尚未做验证。

参考文献

[1] https://github.com/scrapy/scrapy/issues/4289
[2] https://tieba.baidu.com/p/6212031789?red_tag=2016610647
[3] https://fishc.com.cn/thread-144313-1-1.html

发布了39 篇原创文章 · 获赞 32 · 访问量 5776

猜你喜欢

转载自blog.csdn.net/weixin_39190382/article/details/105001149