通过代理安装pip,及scrapy安装报错记录
2017-07-26 17:47
148 查看
首先需要安装python环境,
运行命令:
pip管理包的问题
pip提供一系列命令,可以指定代理同时也可以指定镜像源
如:C:\Python27\Scripts>pip install –no-cache-dir Twisted –proxy=10.27.199.6:3128 -i https://pypi.tuna.tsinghua.edu.cn/simple
在windows环境下python可能需要编译环境,可以下载Microsoft Visual C++ Compiler for Python 2.7包安装即可。
在安装scrapy时,遇到incremental和twisted的问题,单独运行指令:
pip install –upgrade incremental
pip install –no-cache-dir Twisted
可以解决。
scrapy报错:https://stackoverflow.com/questions/42129767/pip-install-twisted-error-1/42215131
安装pip:https://docs.scrapy.org/en/latest/intro/install.html#things-that-are-good-to-know
安装pip:http://scrapy-chs.readthedocs.io/zh_CN/1.0/intro/install.html
安装windows编译:http://blog.csdn.net/sepnineth/article/details/50562708
pip镜像:http://blog.csdn.net/lambert310/article/details/52412059
运行命令:
python get-pip.py即可安装成功pip,如果需要用代理,可替换该命令为:
python get-pip.py --proxy="[user:passwd@]proxy.server:port"
pip管理包的问题
pip提供一系列命令,可以指定代理同时也可以指定镜像源
如:C:\Python27\Scripts>pip install –no-cache-dir Twisted –proxy=10.27.199.6:3128 -i https://pypi.tuna.tsinghua.edu.cn/simple
在windows环境下python可能需要编译环境,可以下载Microsoft Visual C++ Compiler for Python 2.7包安装即可。
在安装scrapy时,遇到incremental和twisted的问题,单独运行指令:
pip install –upgrade incremental
pip install –no-cache-dir Twisted
可以解决。
scrapy报错:https://stackoverflow.com/questions/42129767/pip-install-twisted-error-1/42215131
安装pip:https://docs.scrapy.org/en/latest/intro/install.html#things-that-are-good-to-know
安装pip:http://scrapy-chs.readthedocs.io/zh_CN/1.0/intro/install.html
安装windows编译:http://blog.csdn.net/sepnineth/article/details/50562708
pip镜像:http://blog.csdn.net/lambert310/article/details/52412059
相关文章推荐
- [Python Scrapy] Windows 下 Scrapy 框架(通过pip安装)
- pyhton3.6 通过pip方法安装scrapy 框架出现的问题
- linux下通过pip安装最新uwsgi
- python pip通过本地目录安装相关程序包
- Mac下通过VMware Fusion安装centos虚拟机操作记录
- FISCO-BCOS v1.3.1 通过物料包安装记录
- Windows下用pip安装scrapy - drk
- CentOS 6.5下通过yum安装MongoDB记录
- VMware 12安装虚拟机Mac OS X 10.10使用小技巧(虚拟机Mac OS X 10.10时间设置,虚拟机Mac OS X 10.10通过代理上网,Mac OS X 10.10虚拟机优化,VMware虚拟机相互复制)
- 记录:安装scrapy与pywebkitgtk
- 【转】Appium 通过代理安装 appium【转】
- 使用pip安装Scrapy出错
- windows 安装 scrapy、pip、requests
- pip安装插件问题记录
- Python Scrapy安装杂症记录
- 安装scrapy(windows) 解决pip 无法安装scrapy
- 使用pip安装Scrapy出错
- 无法通过pip安装requests采用源码包安装
- pip安装scrapy时报错:error: Unable to find vcvarsall.bat
- Python下pip安装scrapy