Are you using Python 3? If so you can't use it with fabric and need to use 2. If you are using python 2 try reinstalling fabric, deactivating and reactivating your virtualenv.
On Wed, Apr 2, 2014 at 11:37 AM, Kyle Pennell <kpenn...@gmail.com> wrote: > Hey Josh, > I just hit this after running that tutorial. Any idea what I might need > to change? > > > On Friday, March 21, 2014 3:05:23 PM UTC-6, Josh Cartmell wrote: > >> Hey Ziwei, you are correct, fabric doesn't currently support python 3. >> Per http://docs.fabfile.org/en/1.8/ is works with 2.5-2.7. >> >> >> On Sun, Mar 16, 2014 at 10:42 PM, Ziwei Zhou <ziwe...@gmail.com> wrote: >> >>> Hi >>> >>> Is the current fabfile.py working in python 3 environment? I tried to >>> run fab under python 2.7 and got the error about >>> >>> Traceback (most recent call last): >>> >>> File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line >>> 632, in main >>> >>> docstring, callables, default = load_fabfile(fabfile) >>> >>> File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line >>> 164, in load_fabfile >>> >>> imported = importer(os.path.splitext(fabfile)[0]) >>> >>> File "/sites/trip/code/tour/fabfile.py", line 3, in <module> >>> >>> from future.builtins import input, open >>> >>> *ImportError: No module named future.builtins* >>> >>> After I upgrade to python 3.3, fab through out the same error message. >>> It seems fabric is still not python 3.3 compatible. >>> >>> Anyone has the same issue? >>> >>> Regards, >>> >>> -- >>> 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 mezzanine-use...@googlegroups.com. >>> >>> 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 mezzanine-users+unsubscr...@googlegroups.com. > 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.