Judd Lyon
Judd Lyon

Reputation: 538

Getting Fabric Python Library to Work

I installed Fabric via Pip, which was installed via Homebrew (OS X 10.6.6). The Fabric library is where pip says it should be, however I cannot get a basic fabfile going.

I've tried the simple hello world example found here: http://docs.fabfile.org/en/1.0.1/tutorial.html

Bash gives me the following error when I try fab hello: -bash: fab: command not found

Paths:

I'm probably overlooking something silly. Thanks for the help.

Upvotes: 1

Views: 12574

Answers (1)

mipadi
mipadi

Reputation: 410742

When you install Fabric with Homebrew and Pip, fab gets put at /usr/local/Cellar/python/2.7.1/bin/fab. Make sure /usr/local/Cellar/python/2.7.1/bin is on your PATH.

Upvotes: 6

Related Questions