Charm layers and python2 dependencies

Merlijn Sebrechts merlijn.sebrechts at gmail.com
Tue Dec 8 17:36:38 UTC 2015


Hi all


Since shortly, Charm build creates Python3 Charms instead of Python2. I
have a Charm that installs a Python2 application. It requires some pip
dependencies like Flask, which I install using
`subprocess.check_output(['pip', 'install', ...])`.

The problem now is that for some reason, this installs the Python3 version
of Flask. Is there a way to install Python2 dependencies from a Python3
Charm using Pip?



Kind regards
Merlijn sebrechts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151208/5f7a9896/attachment.html>


More information about the Juju mailing list