当前位置:网站首页>pycharm安装scrapy库时出现报错Error occurred when installing package ‘Scrapy‘
pycharm安装scrapy库时出现报错Error occurred when installing package ‘Scrapy‘
2022-06-09 16:16:00 【Unacandoit】
1.通过File-Setting-Pyhton Interpreter-+安装scrapy时出现如下报错。该报错显示pip需要更新版本,而且这里建议在系统终端运行命令。那我们就根据提示一步步来解决。
2.切换到Terminal界面,在pycharm的下方找到该按钮
3.然后我们在terminal中运行命令:pip install scrapy,又出现如下报错。此时我们需要更新pip,命令已经给出(python所在路径不同给出的命令提示不同,大家只需复制WARNING的第二行中单引号中的内容就行啦)
c:\users\una\pycharmprojects\pythonproject\venv\scripts\python.exe -m pip install --upgrade pip
当你看到如下界面,就表示更新完毕
4.最后我们就可以在安装scrapy啦,请在terminal中使用如下代码:
pip install scrapy
##如果时windows系统再安装一下pypiwin32
pip install pypiwin32
至此,下面就可以顺利地创建项目啦!!!
PS:大家遇到报错不要慌,因为这是学习过程中最常见不过的事情。我们只要耐下心来去看看报错的原因、给的提示,就能够解决问题啦!一起加油哦!
边栏推荐
- Jpex launches bayc mayc contract series welcome experience
- 如何解决WordPress开启CDN后评论IP不正确的方法
- 【第18天】给定两个变量 a 和 b,交换它们的值 | 三种解法
- After the change of beauty brands and consumer demand, how can retailers not fall behind?
- 在初始化时启动mysql服务时显示net不是内部和外部的命令,也不是可运行的程序。如何解决该问题?这与net.exe缺失有关吗
- C#/VB.NET 在Word转PDF时生成目录书签
- ESQL看这一篇写的不错
- leetcode:189.轮转数组
- Ruoyi mind map
- Querylist asynchronously fetches web page data
猜你喜欢

Installing redis and PHP redis extensions under Windows

在初始化时启动mysql服务时显示net不是内部和外部的命令,也不是可运行的程序。如何解决该问题?这与net.exe缺失有关吗

kali-内网穿透上线shell

leetcode:189. Rotation array

使用ffmpeg合并mp4文件

姑娘,你为什么要编程呢

Windows下安装Redis及php的redis扩展

Wechat applet mind map

虚幻引擎插件 - Maya LiveLink - 安装和使用

After reading it, I will analyze the whole process from packet capturing to interface testing
随机推荐
ELK 不香了!我用 Graylog,轻量多了....
How to learn mind map efficiently
Replace ROC-AUC with auprc on unbalanced data
【无标题】
Laravel8框架七牛云上传
R language ggplot2 visualization: using stat_ The summary function adds the number of samples to the results of the ggplot2 visual image (stat_summary to annotate plot sample number)
JWT mind map
[SEETF]Super Secure Requests Forwarder
中途离开电脑怎么一键锁屏
如何解决WordPress开启CDN后评论IP不正确的方法
元宇宙可以给正在陷入到瓶颈期的互联网打开全新的思考窗口
Vulnstack series range I
Under the epidemic situation, four points of cognition help you grow!
Huawei cloud | enterprise digital transformation, security first
天呐,嘉立创的单、双面板又又又降价了,同行还怎么玩儿?
[day 18] given two variables A and B, exchange their values | three solutions
Laravel8 Frame Seven niuyun upload
怎么替换或禁用 WordPress 前后台默认的蓝色 favicon.ico 图标
[SEETF]Super Secure Requests Forwarder
vulnstack系列靶场一