pip 安装 psycopg2 遇到的Command "python setup.py egg_info" failed
来源:互联网 发布:μcos ii源码v2.86 编辑:程序博客网 时间:2024/05/22 00:26
错误对象:Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-HctHLr/psycopg2/
Collecting psycopg2==2.6.2 (from -r requirements/common.txt (line 34)) Using cached psycopg2-2.6.2.tar.gz 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: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. ----------------------------------------Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-HctHLr/psycopg2/
错误处理:
1)安装libpq-dev
sudo apt-get install libpq-dev python-dev
2)pip install psycopg2
0 0
- pip 安装 psycopg2 遇到的Command "python setup.py egg_info" failed
- pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案
- pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案
- pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案
- 安装jupyter的过程中出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qMLlkr/
- pip错误 Command "python setup.py egg_info" failed with error code 2
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-o2julgbe/xgboost/
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-b2PICB/unroll/
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-GVQWxt/ipython/
- Command python setup.py egg_info failed with error code 1
- Command "python setup.py egg_info" failed with error code 10
- 解决 win10 pycurl安装出错 Command "python setup.py egg_info" failed with error code 10
- 解决 win10 pycurl安装出错 Command "python setup.py egg_info" failed with error code 10
- 解决 win10 pycurl安装出错 Command "python setup.py egg_info" failed with error code 10
- 安装ipython时python setup.py egg_info错误的解决办法
- 解决Command "python setup.py egg_info" failed with error code 1坎坷路
- matplotlib InstallationError: Command python setup.py egg_info failed with error code 1
- command "python setup.py egg_info" failed with error code 1 in ...
- 路由器局域网IP(内网IP)和外网IP的关系
- Android Drawable 那些不为人知的高效用法
- M101P: MongoDB for Developers - Final Exam
- 我的第一篇博客——自写MyLinkedList类
- 《精通javascript》里的一些函数(二)
- pip 安装 psycopg2 遇到的Command "python setup.py egg_info" failed
- 没有问题缺连不上数据库
- 对Ajax同步异步的理解
- LibGdx文档译读(十四) AudioDevice接口
- collections.sort()在java程序中的应用举例
- C# 事件和Unity3D
- java集合框架系列---HashSet
- listView解决item内容重复
- 坚持#第39天~回家了