Python的pyspider安装和常见的错误

2024-10-24 09:04:22

1、首先打开命令行,快捷键Win + R

Python的pyspider安装和常见的错误

2、输入cmd点击回车进入命令行

Python的pyspider安装和常见的错误

3、再在cmd中输入pip install pyspider进行安装spider模块

Python的pyspider安装和常见的错误

4、安装成功后提示successful,但有时候出现错误,例如下面

Python的pyspider安装和常见的错误

5、根据提示需要下载libcurl模块,到模块官网下载安装就解决问题了

Python的pyspider安装和常见的错误

6、重新在命令行pip install pyspider就成功安装模块

Python的pyspider安装和常见的错误

7、总结: 1.pip install pyspider安装模块 2.根据错误提示安装libcurl模块 3.重新安装pyspider模块成功安装

猜你喜欢