easy_install bson 请帮忙看一下,这是安装成功了没有

eisldkw 2020-06-29 01:18:32


[root@localhost ~]# easy_install bson
Searching for bson
Best match: bson 0.5.10
Processing bson-0.5.10-py2.7.egg
bson 0.5.10 is already the active version in easy-install.pth

Using /usr/lib/python2.7/site-packages/bson-0.5.10-py2.7.egg
Processing dependencies for bson
Finished processing dependencies for bson
[root@localhost ~]# pip install bson
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop s upport for Python 2.7 in January 2021. More details about Python 2 support in pi p, can be found at https://pip.pypa.io/en/latest/development/release-process/#py thon-2-support
Requirement already satisfied: bson in /usr/lib/python2.7/site-packages/bson-0.5 .10-py2.7.egg (0.5.10)
Requirement already satisfied: python-dateutil>=2.4.0 in /usr/lib/python2.7/site -packages (from bson) (2.8.1)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (f rom bson) (1.9.0)
[root@localhost ~]# easy_install redis
Searching for redis
Reading https://pypi.python.org/simple/redis/
Best match: redis 3.5.3
Downloading https://files.pythonhosted.org/packages/b3/17/1e567ff78c83854e16b98694411fe6e08c3426af866ad11397cddceb80d3/redis-3.5.3.tar.gz#sha256=0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2
Processing redis-3.5.3.tar.gz
Writing /tmp/easy_install-y49Ub4/redis-3.5.3/setup.cfg
Running redis-3.5.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-y49Ub4/redis-3.5.3/egg-dist-tmp-PvsJe8
warning: no previously-included files found matching '__pycache__'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

zip_safe flag not set; analyzing archive contents...
UNKNOWN 0.0.0 is already the active version in easy-install.pth

Installed /usr/lib/python2.7/site-packages/UNKNOWN-0.0.0-py2.7.egg
Skipping dependencies for UNKNOWN 0.0.0
...全文
218 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
陈年椰子 2020-07-05
  • 打赏
  • 举报
回复
执行结果,截图看看。
eisldkw 2020-07-05
  • 打赏
  • 举报
回复
引用 1 楼 陈年椰子 的回复:
没安装成功。 可能是pip 版本过低。 先 pip list 看看
# 先升级 pip
pip install --upgrade pip
# 再执行
pip install redis
非常感谢。但是好象不对。
陈年椰子 2020-06-29
  • 打赏
  • 举报
回复
没安装成功。 可能是pip 版本过低。 先 pip list 看看
# 先升级 pip
pip install --upgrade pip
# 再执行
pip install redis

37,743

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • WuKongSecurity@BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧