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.sebrec...@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@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju > >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju