You'll have to run "fab remove" first to blow away the python 2.7 env.

Then run "fab create" with the modification above.

On Wed, May 1, 2019 at 3:16 PM Matt Mansour <[email protected]> wrote:

> Sorry I misread the question.
>
> To make this work I edited the fabfile.
> I changed line 503 to
> run("virtualenv -p python3 %s" % env.proj_name)
>
> On Wed, May 1, 2019 at 3:11 PM Matt Mansour <[email protected]>
> wrote:
>
>> Try "pip install fabric2".
>>
>> That did the trick for me.
>>
>> On Wed, May 1, 2019 at 5:26 AM Ken Bolton <[email protected]> wrote:
>>
>>> Mike,
>>>
>>> Ignore my last email, follow the tutorial expertly produced by Travis.
>>>
>>> -ken
>>>
>>> On Wed, May 1, 2019 at 1:19 AM <[email protected]> wrote:
>>>
>>>> Thanks Ken
>>>>
>>>> I have made a start but its heavy going. Mercurial demands Python2.7
>>>> unless there is an env var HGPYTHON3=1 and then there are pip things
>>>> falling over as well.
>>>>
>>>> I'll keep trying
>>>>
>>>> M
>>>>
>>>> On Tuesday, April 30, 2019 at 10:29:46 PM UTC+10, Ken Bolton wrote:
>>>>>
>>>>> Hi Mike,
>>>>>
>>>>> Fabric3 and Python3 were used on the dev machine and Python3.6 is
>>>>>>
>>>>>
>>>>> You need to use an earlier version with the fabfile; `fabric==1.2.2`
>>>>> works, if the mailing list archives are to be believed. The alternative
>>>>> would be a rewrite of the fabfile to account for changes in the Fabric 
>>>>> api.
>>>>>
>>>>> To start using python3, modify your fabfile
>>>>> https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/fabfile.py#L446-L447
>>>>> :
>>>>>
>>>>> apt("nginx libjpeg-dev python3-dev python3-setuptools git-core " 
>>>>> "postgresql
>>>>> libpq-dev memcached supervisor python3-pip")
>>>>> Not sure what else you might have to change, but if you manage to
>>>>> deploy, a pull request of your changes would be greatly appreciated!
>>>>>
>>>>> -ken
>>>>>
>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Mezzanine Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Mezzanine Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to