Charm layers and python2 dependencies
Adam Stokes
adam.stokes at canonical.com
Tue Dec 8 17:38:02 UTC 2015
You can use `pip2` and it'll pull down the python 2.7 flask
On Tue, Dec 8, 2015 at 12:36 PM, Merlijn Sebrechts <
merlijn.sebrechts at gmail.com> wrote:
> 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
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151208/335b0a20/attachment.html>
More information about the Juju
mailing list