python安装request失败_在python 虚拟环境下使用命令pip install -r request 安装软件失败?...
各位好:
我使用下列命令建立和进入虚拟环境:
(1)virtualenv homepage
(2). homepage/bin/activate && cd homepage
然后,我一个内容如下的request文件拷贝如homepage,request内容如下:
Flask==0.10.1 Flask-Admin==1.0.7
Flask-Auth==0.85
Flask-OAuth==0.12
Flask-SQLAlchemy==1.0
Markdown==2.4
WTForms==1.0.5
alembic==0.6.3
ipython==1.2.1
nose==1.3.0
psycopg2==2.5.2
当我使用pip install -r request安装上述软件时,报出如下错误,请帮我看看是怎么回事呢?
(homepage)duqi@Lenovo-G480:~/python/homepage$ pip install -r requests
Downloading/unpacking Flask==0.10.1 (from -r requests (line 1))
Downloading Flask-0.10.1.tar.gz (544Kb): 544Kb downloaded
Running setup.py egg_info for package Flask
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/_themes/.git'
Downloading/unpacking Flask-Admin==1.0.7 (from -r requests (line 2))
Downloading Flask-Admin-1.0.7.tar.gz (330Kb): 330Kb downloaded
Running setup.py egg_info for package Flask-Admin
warning: no previously-included files matching '*.pyc' found under directory 'flask_admin'
Downloading/unpacking Flask-Auth==0.85 (from -r requests (line 3))
Downloading Flask-Auth-0.85.tar.gz (46Kb): 46Kb downloaded
Running setup.py egg_info for package Flask-Auth
warning: no previously-included files matching '*.pyc' found under directory 'flaskext'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
no previously-included directories found matching 'docs/_build'
Downloading/unpacking Flask-OAuth==0.12 (from -r requests (line 4))
Downloading Flask-OAuth-0.12.tar.gz
Running setup.py egg_info for package Flask-OAuth
Downloading/unpacking Flask-SQLAlchemy==1.0 (from -r requests (line 5))
Downloading Flask-SQLAlchemy-1.0.tar.gz (92Kb): 92Kb downloaded
Running setup.py egg_info for package Flask-SQLAlchemy
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/_themes/.git'
Downloading/unpacking Markdown==2.4 (from -r requests (line 6))
Downloading Markdown-2.4.tar.gz (260Kb): 260Kb downloaded
Running setup.py egg_info for package Markdown
Downloading/unpacking WTForms==1.0.5 (from -r requests (line 7))
Downloading WTForms-1.0.5.zip (355Kb): 355Kb downloaded
Running setup.py egg_info for package WTForms
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
Downloading/unpacking alembic==0.6.3 (from -r requests (line 8))
Downloading alembic-0.6.3.tar.gz (437Kb): 437Kb downloaded
Running setup.py egg_info for package alembic
warning: no files found matching '*.jpg' under directory 'docs'
warning: no files found matching '*.sty' under directory 'docs'
warning: no files found matching '*.dat' under directory 'tests'
warning: no files found matching 'distribute_setup.py'
no previously-included directories found matching 'docs/build/output'
Downloading/unpacking ipython==1.2.1 (from -r requests (line 9))
Downloading ipython-1.2.1.tar.gz (8.7Mb): 8.7Mb downloaded
Running setup.py egg_info for package ipython
Downloading/unpacking nose==1.3.0 (from -r requests (line 10))
Downloading nose-1.3.0.tar.gz (404Kb): 404Kb downloaded
Running setup.py egg_info for package nose
no previously-included directories found matching 'doc/.build'
Downloading/unpacking psycopg2==2.5.2 (from -r requests (line 11))
Downloading psycopg2-2.5.2.tar.gz (685Kb): 685Kb downloaded
Running setup.py egg_info for package psycopg2
Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/psycopg2.egg-info
writing pip-egg-info/psycopg2.egg-info/PKG-INFO
writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
Command python setup.py egg_info failed with error code 1 in /home/duqi/python/homepage/build/psycopg2
Storing complete log in /home/duqi/.pip/pip.log
python安装request失败_在python 虚拟环境下使用命令pip install -r request 安装软件失败?...相关推荐
- 在【Window】系统下更改 【pip install】 默认安装依赖路径
背景: 在[Windows]下使用 pip install ,很多情况下会把依赖包安装到一个叫Roaming的地方,导致调用系统Python 某些依赖的时候找不到源码安装在哪. C:\Users\yo ...
- python串口数据绘图_使用Python串口实时显示数据并绘图的例子
使用pyserial进行串口传输 一.安装pyserial以及基本用法 在cmd下输入命令pip install pyserial 注:升级pip后会出现 "'E:\Anaconda3\Sc ...
- python anaconda下载包_【Python开发】anaconda3 安装python包
环境说明电脑配置:win7 64位安装版本:anaconda3 Python 3.6参考链接http://python.jobbole.com/86236/(链接中有一个小点介绍了如何加速包的下载)h ...
- python跳一跳教程_使用python玩跳一跳超详细使用教程
在上一篇文章里介绍了使用Python玩微信跳一跳的详细使用教程,不过依旧还是有很多小伙伴有各种各样的问题.为了让各位小伙伴都能使用黑科技,于是再做一个超详细教程.从Python的安装开始,手把手教你一 ...
- python显示安装失败_关于python:安装失败并显示Requirements.txt,但可用于pip安装...
与使用pip直接安装时相比,在使用requirements.txt时出现一些奇怪的行为. 希望您能对此有所了解. 这可能与未解决的问题相同:pip install -r requirements.tx ...
- pythonidle安装第三方库_在Python IDLE 下调用anaconda中的库教程
在Python IDLE 下调用anaconda中的库教程 大家都知道,Anaconda是一个开源的Python发行版本,其包含了conda.Python等180多个科学包及其依赖项.下载了anaco ...
- python需要安装的库_使用python学习【机器学习】需要安装的库~
---------------------------------------------------------------------------------------------------- ...
- python ppt自动生成_实战 | Python自动生成PPT调研报告
原标题:实战 | Python自动生成PPT调研报告 原文: 全文约 3821 字,读完可能需要 5 分钟. 文/JSong @2017.02.28 在数据分析里面有一句话是说,80%的时间要用于数据 ...
- python界面显示图片更换背景_用python制作一个简陋的证件照换底色的桌面控制台应用...
获取抠图API密钥 前往RemoveBg官网注册一个账号 注册账户界面已翻译,Api每月可用50次 注册成功后登录,按图示所选点击 点击 Get Api Key 获取Api密钥 安装所需支持库 imp ...
最新文章
- jsp实现日历(二)
- python 读取csv文件生成散点图
- 优化 Golang 分布式行情推送的性能瓶颈
- 解决Redmi 6 pro底部出现黑边问题
- MATLAB警告: 矩阵为奇异工作精度
- 卷积神经网络之ResNet网络模型学习
- Python消息队列
- Jenkins进阶-Gitlab使用Webhook实现Push代码自动部署(3)
- ajax angular点击事件_Angular的$http的ajax的请求操作(推荐)
- webstorm 配置webserver选项,让其他ip设备可访问(如手机等测试效果) ...
- latex longtable caption长度提前换行解决方案
- [流媒体服务器搭建] EasyDarwin服务器搭建及客户端推流完整示例
- html背景音乐自动播放embed,HTML插入背景音乐方法【全】
- ICD建模问题总结(IED Capability Description)
- 苹果删除照片不释放内存_别再胡乱清理垃圾了,只要删除这6个文件夹,瞬间释放20GB内存...
- mysql条件关键字查询有limt_MySQL使用Limit关键字限制查询结果的数量-Go语言中文社区...
- 《名利场》:微软 “ 失落的十年”
- DVWA 之暴力破解攻击(Brute Force)
- php.bak是什么,bak文件是什么
- collect()案例和count()案例_大数据培训课程