card-io / card.io-iOS-source

The open-source code for the card.io-iOS-SDK: provides fast, easy credit card scanning in mobile apps
Other
686 stars 372 forks source link

ImportError: cannot import name shell_env #33

Closed cybertk closed 9 years ago

cybertk commented 9 years ago

Cannot build with fab build:outdir=~, it failed with

ImportError: cannot import name shell_env
josharian commented 9 years ago

Is fabric in your PYTHONPATH? Does this succeed? python -c "import fabric.context_managers"

cybertk commented 9 years ago

It seems the fabric defined in requirements.txt is too old. shell_env is introduced by Fabric 1.5.0 after a quick Google.

The issue is fixed after upgrading fabric to 1.5.0, I will provide a PR soon.