fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Importing Fabric Library Locally


From: Jeff Forcier
Subject: Re: [Fab-user] Importing Fabric Library Locally
Date: Sun, 25 Aug 2013 12:02:40 -0700

Not even an actual traceback, or the code that actually involves
Fabric itself? Give us something to work with here :(

On Sun, Aug 25, 2013 at 6:15 AM, Andrew Latham <address@hidden> wrote:
> All....
>
> I am attempting to load pycrypto, paramiko, and fabric from a local
> directory called static.
>
> I have a project as follows
>
> project/project.py
> project/static/pycrypto
> project/static/paramiko
> project/static/fabric
>
> #!/usr/bin/env python
> import sys, re, logging
> sys.path.append('static/pycrypto/lib/Crypto')
> sys.path.append('static/paramiko/paramiko')
> import Crypto
> import paramiko
>
> I have pycrypto and paramiko importing correctly and printing their
> version as a test.
>
> When I attempt to do the same with fabric it does not work.  I can
> specify a file or function to load and use it. Importing the api.py
> fails.  I doubt I am the first to hit this.
>
>
> --
> ~ Andrew "lathama" Latham address@hidden http://lathama.net ~
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]