Skip to content

Windows + fab = ImportError: cannot import name output #194

Description

@bitprophet

Description

Getting the following when trying to do anything with Fabric. This same fabfile.py that I'm using works just fine on Linux and Mac. I've got Paramiko and PyCrypto installed. Python 2.6 amd64, Windows 7 64-bit, Fabric 0.9.1. Any help would be greatly appreciated. I think there were a few other Windows users running into this, too.

(Here's another user with the same problem that is also a 64-bit guy)

(coursebook_env) C:\Users\Greg Taylor\workspace\coursebook>fab -l
Traceback (most recent call last):
File "C:\Users\Greg Taylor\workspace\coursebook_env\Scripts\fab-script.py", line 8, in <module>
load_entry_point('Fabric==0.9.1', 'console_scripts', 'fab')()
File "build\bdist.win-amd64\egg\pkg_resources.py", line 318, in load_entry_point
File "build\bdist.win-amd64\egg\pkg_resources.py", line 2221, in load_entry_point
File "build\bdist.win-amd64\egg\pkg_resources.py", line 1954, in load
File "C:\Users\Greg Taylor\workspace\coursebook_env\lib\site-packages\fabric\main.py", line 17, in <module>
from fabric import api # For checking callables against the API
File "C:\Users\Greg Taylor\workspace\coursebook_env\lib\site-packages\fabric\api.py", line 9, in <module>
from fabric.context_managers import cd, hide, settings, show
File "C:\Users\Greg Taylor\workspace\coursebook_env\lib\site-packages\fabric\context_managers.py", line 12, in <module>
from fabric.state import env, output
File "C:\Users\Greg Taylor\workspace\coursebook_env\lib\site-packages\fabric\state.py", line 9, in <module>
from fabric.network import HostConnectionCache
File "C:\Users\Greg Taylor\workspace\coursebook_env\lib\site-packages\fabric\network.py", line 19, in <module>
abort("paramiko is a required module. Please install it:\n\t$ sudo easy_install paramiko")
File "C:\Users\Greg Taylor\workspace\coursebook_env\lib\site-packages\fabric\utils.py", line 21, in abort
from fabric.state import output
ImportError: cannot import name output
(coursebook_env) C:\Users\Greg Taylor\workspace\coursebook>

Originally submitted by Greg Taylor (gtaylor) on 2010-07-14 at 01:27pm EDT


Closed as Worksforme on 2011-05-23 at 09:18am EDT

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions