I want to install flask and zappa, a common combination.
我想安装烧瓶和zappa,这是一种常见的组合。
I use pipenv to create an evironment:
我使用pipenv来创建一个环境:
pipenv --python 3.6.4
pipenv --python 3.6.4
I want to install packages:
我想安装包:
pipenv install flask zappa
pipenv安装烧瓶zappa
Unfortunately the requirements of flask is:
不幸的是,烧瓶的要求是:
Werkzeug >= 0.14
Werkzeug> = 0.14
the requirement of zappa is :
zappa的要求是:
Werkzeug == 0.12
Werkzeug == 0.12
So this is not installable. What can i do?
所以这不可安装。我能做什么?
1 个解决方案
#1
0
Thanks to Evgeny this solution was successful. I could not find it in pipenv documentation.
感谢Evgeny,这个解决方案很成功。我在pipenv文档中找不到它。
Just manually edit the Pipfile:
只需手动编辑Pipfile:
Pipfile
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
[packages]
zappa = { git = 'https://github.com/Miserlou/Zappa.git', ref = 'master', editable = true }
flask = "*"
[requires]
python_version = "3.6"
#1
0
Thanks to Evgeny this solution was successful. I could not find it in pipenv documentation.
感谢Evgeny,这个解决方案很成功。我在pipenv文档中找不到它。
Just manually edit the Pipfile:
只需手动编辑Pipfile:
Pipfile
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
[packages]
zappa = { git = 'https://github.com/Miserlou/Zappa.git', ref = 'master', editable = true }
flask = "*"
[requires]
python_version = "3.6"