系统环境:
Windows 10 64位
Python 3.6.5

pyspider 是国人写的一款开源爬虫框架,作者博客:http://blog.binux.me/ ,使用 pip install pyspider 命令即可安装 pyspider,安装报错如下:

C:\Users\Lenovo>pip install pyspider
Collecting pyspiderDownloading https://files.pythonhosted.org/packages/d0/97/d6062c928f53d899ff2a8538fed11d4d425ba3d27c96248a2c601c1c9fef/pyspider-0.3.10.tar.gz (110kB)|████████████████████████████████| 112kB 819kB/s
Requirement already satisfied: Flask>=0.10 in e:\python\lib\site-packages (from pyspider) (1.1.1)
Requirement already satisfied: Jinja2>=2.7 in e:\python\lib\site-packages (from pyspider) (2.10.1)
Requirement already satisfied: chardet>=2.2 in e:\python\lib\site-packages (from pyspider) (3.0.4)
Requirement already satisfied: cssselect>=0.9 in e:\python\lib\site-packages (from pyspider) (1.1.0)
Requirement already satisfied: lxml in e:\python\lib\site-packages (from pyspider) (4.3.4)
Collecting pycurl (from pyspider)Downloading https://files.pythonhosted.org/packages/ac/b3/0f3979633b7890bab6098d84c84467030b807a1e2b31f5d30103af5a71ca/pycurl-7.43.0.3.tar.gz (215kB)|████████████████████████████████| 215kB 595kB/s
ERROR: Command errored out with exit status 10:command: 'e:\python\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Lenovo\\AppData\\Local\\Temp\\pip-install-7vptovzg\\pycurl\\setup.py'"'"'; __file__='"'"'C:\\Users\\Lenovo\\AppData\\Local\\Temp\\pip-install-7vptovzg\\pycurl\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-infocwd: C:\Users\Lenovo\AppData\Local\Temp\pip-install-7vptovzg\pycurl\Complete output (1 lines):Please specify --curl-dir=/path/to/built/libcurl----------------------------------------
ERROR: Command errored out with exit status 10: python setup.py egg_info Check the logs for full command output.

原因分析:PyCurl 安装错误,需要安装 PyCurl 库(PyCurl 是一个Python接口,是多协议文件传输库的 libcurl。类似于urllib Python模块,PyCurl 可以用来从Python程序获取 URL 所标识的对象)

解决方法:访问 https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl ,下载对应的 wheel 文件,比如我是 Windows 10 64位,Python 3.6.5,则下载 pycurl‑7.43.0.3‑cp36‑cp36m‑win_amd64.whl,然后使用命令 pip install pycurl‑7.43.0.3‑cp36‑cp36m‑win_amd64.whl 进行安装即可,PyCurl 安装完成,再次执行 pip install pyspider 即可成功安装 pyspider

pip sintall pyspider 报错:ERROR: Command errored out with exit status 10相关推荐

  1. python下载第三方库的时候报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check the

    python下载第三方库的时候报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check the l ...

  2. Python PIP Mysql-python 报错 ERROR: Command errored out with exit status 1: python setup.py egg_info C

    pip install mysql-python 安装Mysql-python时,报错,先看下错误内容: ERROR: Command errored out with exit status 1:c ...

  3. ubuntu18.04安装python的mysqlclient==1.4.6报错ERROR Command errored out with exit status 1python setup

    安装python的mysqlclient==1.4.6报错 环境: ubuntu18.04 python 3.7.2 Django 2.2 想要使用Django来操作MySQL,报错: LookupE ...

  4. django2.0 在安装mysqlclient 报错ERROR: Command errored out with exit status 1: python setup.py egg_info

    环境:centos7 +  Django2.0 + python3.6 django2.0连接mysql需要安装PyMySQL和mysqlclient pip3 install PyMySQL pip ...

  5. PIP scrapydo时报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check the log

    今天PIP安装scrapydo 包时,报错,图如下 ERROR: Command errored out with exit status 1: python setup.py egg_info Ch ...

  6. 安装kerberos报错 error: command 'gcc' failed with exit status 1

    pip install kerberos 报错:error: command 'gcc' failed with exit status 1 安装环境工具 yum install gcc libffi ...

  7. pip install scrpy 报错: command 'gcc' failed with exit status 1

    报错如下: copying src/twisted/words/xish/xpathparser.g -> build/lib.linux-x86_64-2.7/twisted/words/xi ...

  8. Mac os更新系统后安装scrapy报错error: command ‘xcrun‘ failed with exit status 1

    查看报错信息: In file included from src/twisted/test/raiser.c:4: In file included from /Library/Developer/ ...

  9. tx2安装包报错error: command ‘aarch64-linux-gnu-gcc‘ failed with exit status 1

    tx2上安装包python-hwinfo,时报错: pip3 install python-hwinfo 错误信息为: error: command 'aarch64-linux-gnu-gcc' f ...

最新文章

  1. 51nod 1617 奇偶数组
  2. 分布式缓存系统Memcached简介与实践
  3. 程序员奶爸用树莓派制作婴儿监护仪:哭声自动通知,还能分析何时喂奶
  4. 微软服务器迁移工具,在 Azure Migrate 中添加迁移工具 - Azure Migrate | Microsoft Docs
  5. 流媒体服务器之rtp协议,rtcp协议,rtsp协议,sdp协议,sip协议简析
  6. Py之ipykernel:Python库之ipykernel简介、安装、使用方法之详细攻略
  7. 分布式共识四】POW共识算法
  8. nginx ngx_http_index_module(默认初始页)
  9. A Hierarchical Deep Temporal Model for Group Activity Recognition
  10. cocos2d-x使用python创建vs模板
  11. 2019年5月,国际计量单位实施新定义
  12. 翻译: Octave 入门教程
  13. 导入csv_使用ADManager Plus从CSV批量导入用户
  14. TOPOLOGY ADAPTIVE GRAPH CONVOLUTIONAL NETWORKS论文笔记(TAGConv)
  15. bad interpreter
  16. LCD LED TN IPS等常见的显示器技术名称
  17. 巨头思科生死迷:错失重要时机 辉煌皆成尘土
  18. GNU:gcc -v
  19. 大数据平台Ambari2.7.4+HDP3.1.4安装(超详细教程)
  20. 磁带机、磁带库和磁盘阵列三者之间的区别

热门文章

  1. 有关软件工程的问题的分析和讨论及课后的作业3
  2. OCLint+Xcode 代码规范利器
  3. 函数实现-aoti-atol
  4. 美国团购网站Groupon的盈利模式
  5. 调用Microsoft.Jet.OLEDB.4.0需要MDAC2.7支持
  6. 2008秋季-计算机软件基础-未交实验报告名单
  7. Python中曲率与弯曲的转换_1000R曲率更具沉浸感!三星T55曲面显示器评测
  8. scheduledthreadpoolexecutor使用_ScheduledThreadPoolExecutor详解
  9. Linux优盘挂载卸载以及文件查看
  10. linux ntfs硬盘自动挂,linux下查看所有硬盘分区+挂接NTFS磁盘/硬盘+自动挂接硬盘方法...