如何使用Dockerfile从pip获取mod_wsgi-express

时间:2017-06-03 20:56:06

标签: python docker mod-wsgi

我不记得我是如何安装mod_wsgi-express的,但我几乎可以肯定我使用了Show

我的requirements.txt文件中有这一行: mod_wsgi的快车== 4.5.15

pip

这里的命名是否不同?或者我只是没有看到那个包裹?

Collecting mod_wsgi-express==4.5.15 (from -r /usr/src/app/requirements.txt (line 16))
  Could not find a version that satisfies the requirement mod_wsgi-express==4.5.15 (from -r /usr/src/app/requirements.txt (line 16)) (from versions: )
No matching distribution found for mod_wsgi-express==4.5.15 (from -r /usr/src/app/requirements.txt (line 16))
You are using pip version 9.0.0, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

1 个答案:

答案 0 :(得分:1)

在requirements.txt中:mod_wsgi==4.5.15

可以在PyPi上找到包裹信息: