mac os 下安装python与Scrapy
2015-09-20 00:07
295 查看
安装setuotool
执行该命令 curl https://bootstrap.pypa.io/ez_setup.py -o - | python
mac OS 自带python 2.7.6 从官网下载2.7.9安装后,在终端输入python 自动改变为2.7.9版本,且自带pip
执行pip install scrapy
报错Perhaps your account does not have write access to this directory? 加上sudo
执行sudo pip install scrapy
仍然报错
打开终端 执行 xcode-select --install
安装成功
执行
scrapy startproject demo1
报错 No module named twisted.internet
在Stack Overflow 找到
f you use pip just try:
pip install twisted
The same works with w3lib and lxml.
执 行
pip install twisted
再次执行 scrapy startproject demo1
报错 No module named w3lib.http
执 行
pip installw3lib
再次执行 scrapy startproject demo1
成功
运行项目时报错
No module named cryptography.hazmat.bindings.openssl.binding
执行 pip install crpytography
成功
转载于:https://www.cnblogs.com/jjl513863548/p/4822648.html
相关文章推荐
- mac os 下安装python与Scrapy
- Python3.6下scrapy框架的安装
- python爬虫Scrapy学习,在windows下安装和配置
- [Python][Scrapy 框架] Python3 Scrapy的安装
- python爬虫之scrapy框架的安装(详细)
- 【Python】pip安装scrapy、mysqlclient出错的解决方法
- Python 2.7+ window10安装scrapy
- 在windows下python3.6 32bit安装scrapy
- Python3 Scrapy 安装方法
- linux安装scrapy报错 Python.h: 没有那个文件或目录
- 64位win7 python3.5环境安装scrapy
- centos6.7+python3.5.2安装scrapy(待修改完善)
- macOS成功在python3环境下安装Scrapy和Numpy
- 在Mac OS系统上安装Python的Pillow库的教程
- Python3网络爬虫(五):Python3安装Scrapy
- python+scrapy安装记录——2018/3/20
- Python实用工具包Scrapy安装教程
- Windows下python环境安装scrapy
- Python开源框架Scrapy安装及使用