pip install flask-mongoengine报错

报错如下:

Collecting pytz (from -r /srv/wms/engine/requirements.txt (line 5))

Downloading https://pypi.doubanio.com/packages/a3/7f/e7d1acbd433b929168a4fb4182a2ff3c33653717195a26c1de099ad1ef29/pytz-2017.3-py2.py3-none-any.whl (511kB)

100% |████████████████████████████████| 512kB 2.3MB/s

Collecting Flask-login (from -r /requirements.txt (line 6))

Downloading https://pypi.doubanio.com/packages/c1/ff/bd9a4d2d81bf0c07d9e53e8cd3d675c56553719bbefd372df69bf1b3c1e4/Flask-Login-0.4.1.tar.gz

Collecting Flask-wtf (from -r /requirements.txt (line 7))

Downloading https://pypi.doubanio.com/packages/60/3a/58c629472d10539ae5167dc7c1fecfa95dd7d0b7864623931e3776438a24/Flask_WTF-0.14.2-py2.py3-none-any.whl

Requirement already satisfied: requests in /lib/python3.5/site-packages (from -r /requirements.txt (line 8))

Collecting flask_mongoengine (from -r /requirements.txt (line 9))

Downloading https://pypi.doubanio.com/packages/84/4b/6bbd0f232fcc2b363addb847a498584f164a32c2559804c0701ae0de4108/flask-mongoengine-0.9.3.tar.gz (111kB)

100% |████████████████████████████████| 112kB 2.1MB/s

Complete output from command python setup.py egg_info:

Download error on https://pypi.python.org/simple/rednose/: [Errno -2] Name or service not known -- Some packages may not be found!

Couldn't find index page for **'rednose**' (maybe misspelled?)

Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!

No local packages or working download links found for rednose

Traceback (most recent call last):

File "<string>", line 1, in <module>

File "/tmp/pip-build-901ck02u/flask-mongoengine/setup.py", line 74, in <module>

'Topic :: Software Development :: Libraries :: Python Modules'

File "/usr/lib64/python3.5/distutils/core.py", line 108, in setup

_setup_distribution = dist = klass(attrs)

File "/lib64/python3.5/site-packages/setuptools/dist.py", line 315, in __init__

self.fetch_build_eggs(attrs['setup_requires'])

File "/lib64/python3.5/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs

replace_conflicting=True,

File "/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 850, in resolve

dist = best[req.key] = env.best_match(req, ws, installer)

File "/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 1122, in best_match

return self.obtain(req, installer)

File /lib64/python3.5/site-packages/pkg_resources/__init__.py", line 1134, in obtain

return installer(requirement)

File "/lib64/python3.5/site-packages/setuptools/dist.py", line 429, in fetch_build_egg

return cmd.easy_install(req)

File "/lib64/python3.5/site-packages/setuptools/command/easy_install.py", line 659, in easy_install

raise DistutilsError(msg)

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('rednose')

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-901ck02u/flask-mongoengine/

解决办法:

要先安装

pip install rednose

pip install nose

pip install coverage

本文转自 506554897 51CTO博客,原文链接:http://blog.51cto.com/506554897/2068168

pip install flask-mongoengine报错相关推荐

  1. python无法安装第三方库read time out_解决pip install的时候报错timed out的问题

    安装包的时候报错,执行:pip install pyinstaller 问题: File "c:\python\python35\lib\site-packages\pip\_vendor\ ...

  2. Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法 文章目录 ...

  3. pip install pygame安装报错解决方案

    针对pip install pygame安装报错的两种不同的解决方法: 一:若python中已经安装好了pip,但pip install pygame却报错的话,可以尝试以下步骤: (1)开始,输入c ...

  4. Python 命令pip install pygame安装报错

    报错1如下: Traceback (most recent call last):File "c:\users\administrator\appdata\local\programs\py ...

  5. 【pip install psycopg2安装报错】Error: pg_config executable not found.

    背景 在pip install psycopg2-binary 的时候报错了.错误内容如下. Collecting psycopg2-binaryUsing cached psycopg2-binar ...

  6. pip install pyinstaller安装报错

    在学习python时,需要用到pyinstal库,将.py文件转化为.exe可执行文件.在windows下cmd命名行中,使用pip install pyinstaller安装,但是在安装时遇到报错: ...

  7. Windows 下使用pip install 安装出现报错ERROR: Cannot unpack file解决办法

    使用豆瓣园安装robotframework-ride时,出现Cannot unpack file报错: ERROR: Cannot unpack file C:\Users\ZHANGW~1\AppD ...

  8. pip install安装软件包报错:Requirement already satisfied

    报错信息: C:\Users\13512>pip install pygame Requirement already satisfied: pygame in c:\users\13512\a ...

  9. python使用pip install安装django报错

    1.安装完python3.7后直接使用pip安装django,安装到一般便会自动停止并且会报一大堆错误, 解决方法: 使用这个地址来安装,速度快而且会将缺少的包自动安装, pip install -i ...

  10. pip install gym[box2d]报错

    pip install gym[box2d]安装包时报错 ERROR: Command errored out with exit status 1:command: 'E:\Anaconda\pyt ...

最新文章

  1. Centos 不小心删除了openssl,导致无法使用sshd、yum、wget、curl 等软件的问题。。...
  2. form表单的action提交写到js中来,同时onclick事件也写在js中来。其action也可以通过ajax来提交的。...
  3. vs2010 出错:error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
  4. myeclipse中如何修改Servlet模板
  5. oracle引用vs,VS2013中使用oracle,有关引用哪个.dll
  6. 蓝桥杯2017初赛-油漆面积-枚举
  7. url编码函数encodeURI和encodeURIComponent
  8. 单例模式的练习-如何正确构建
  9. 并发容器(J.U.C)中的队列类
  10. 从底层看云:云计算准备好了么?
  11. 蓝桥杯 ADV-12 算法提高 计算时间
  12. [WM]怎么让应用程序更省电
  13. 网页设计中常用的Web安全字体
  14. 大一计算机word排版试题,Word排版练习题
  15. 微信支付开通流程,及微信支付商户号申请详细流程介绍
  16. C盘爆红,一个操作将微信缓存踢走
  17. 关于MSOCache
  18. 详解Unity中的粒子系统Particle System (八)
  19. 尚医通-OAuth2-微信登录接口开发(三十一)
  20. 【pd.to_datetime】时间object转换datetime实例

热门文章

  1. RocketMQ源码解析-事务消息的二阶段提交
  2. 百度UEditor控件中的map组件不支持https使用的问题解决
  3. java test 用法,pytest基本用法简介
  4. SpringMVC数据格式化
  5. Dubbo之Filter链原理
  6. 有关ElasticSearch的基本概念
  7. [20190530]oracle Audit文件管理.txt
  8. LeetCode-150-Evaluate Reverse Polish Notation
  9. java框架学习日志-2
  10. 写一篇好的技术文章有多难?