Charm layers and python2 dependencies
Merlijn Sebrechts
merlijn.sebrechts at gmail.com
Tue Dec 8 18:22:26 UTC 2015
Thanks!
2015-12-08 18:38 GMT+01:00 Adam Stokes <adam.stokes at canonical.com>:
> 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/1f5a571b/attachment.html>
More information about the Juju
mailing list