1

我正在尝试在新的 virtualenv 中为我的项目安装依赖项。

这些要求包含在一个文件 ( requirements.txt) 中,该文件包含 a 的输出pip freeze

这是它的内容:

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项目的工具)。然后我pip freeze生成了requirements.txt >

但是为什么当我尝试启动一个新的 virtualenv 以在另一台计算机上工作时,我在运行时会在输出结束时收到以下错误pip install -r requirements.txt

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参数重试了,但错误仍然存​​在。

4

1 回答 1

1

我终于换成djangocms-text-ckeditor==2.5.4.dev1了 github 链接(git+git://github.com/divio/djangocms-text-ckeditor.git)。

它有效!

于 2015-07-23T10:59:54.510 回答