首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >pip安装-r <file>原因“找不到满足要求的版本.”错误

pip安装-r <file>原因“找不到满足要求的版本.”错误
EN

Stack Overflow用户
提问于 2015-07-23 09:48:35
回答 1查看 4.7K关注 0票数 1

我正在尝试在一个新的虚拟环境中安装我的项目的依赖项。

需求包含在包含pip freeze输出的文件(pip freeze)中。

它的内容如下:

代码语言:javascript
复制
dj-database-url==0.3.0
Django==1.8.3
django-classy-tags==0.6.2
django-cms==3.1.2
django-reversion==1.8.7
django-sekizai==0.8.2
Django-Select2==4.3.1
django-treebeard==3.0
djangocms-admin-style==0.2.7
djangocms-column==1.5
djangocms-file==0.1
djangocms-flash==0.2.0
djangocms-googlemap==0.3
djangocms-inherit==0.1
djangocms-installer==0.7.9
djangocms-link==1.6.2
djangocms-picture==0.1
djangocms-style==1.5
djangocms-teaser==0.1
djangocms-text-ckeditor==2.5.4.dev1
djangocms-video==0.1
html5lib==0.999999
Pillow==2.9.0
pytz==2015.4
six==1.9.0
tzlocal==1.2
wheel==0.24.0

djangocms-installer一起安装的一些依赖项(用于生成djangocms项目的工具)。然后,我创建了生成requirements.txt>的pip freeze

但是,为什么当我试图在另一台计算机上启动一个新的虚拟主机时,当我运行pip install -r requirements.txt时,在输出的末尾会出现以下错误吗?

代码语言:javascript
复制
Collecting djangocms-text-ckeditor==2.5.4.dev1 (from -r requirements.txt (line 20))
  Could not find a version that satisfies the requirement djangocms-text-ckeditor==2.5.4.dev1 (from -r requirements.txt (line 20)) (from versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.11, 2.0.0, 2.0.1, 2.0.2, 2.0.4, 2.0.5, 2.0.6, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.5.0b1, 2.5.0, 2.5.1, 2.5.2, 2.5.3)
  Some externally hosted files were ignored as access to them may be unreliable (use --allow-external djangocms-text-ckeditor to allow).
No matching distribution found for djangocms-text-ckeditor==2.5.4.dev1 (from -r requirements.txt (line 20))

我怎么才能解决这个问题?

我已经用--allow-external--allow-all-external--allow-unverified参数重新尝试了,但是错误仍然存在。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-07-23 10:59:54

我最终用github链接(git+git://github.com/divio/djangocms-text-ckeditor.git)替换了git+git://github.com/divio/djangocms-text-ckeditor.git

而且起作用了!

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31583799

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档