bslatkin / dpxdt

Make continuous deployment safe by comparing before and after webpage screenshots for each release. Depicted shows when any visual, perceptual differences are found. This is the ultimate, automated end-to-end test.
https://dpxdt-test.appspot.com
Apache License 2.0
1.44k stars 124 forks source link

ImportError: No module named dpxdt.client #186

Closed ghost closed 8 years ago

ghost commented 8 years ago

I keep getting ImportError: No module named dpxdt.client when I run ./run_url_pair_diff.sh

I'm not sure why, any help would be appreciated Cheers

Darren

elsigh commented 8 years ago

Did you do the virtualenv steps?

On Fri, Jul 29, 2016, 08:41 Darren Mackintosh notifications@github.com wrote:

I keep getting ImportError: No module named dpxdt.client when I run ./run_url_pair_diff.sh

I'm not sure why, any help would be appreciated Cheers

Darren

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bslatkin/dpxdt/issues/186, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfkWsDL9iSXKzwU1tsB4f5DC94c2IaEks5qah8xgaJpZM4JYUHF .

weeksghost commented 8 years ago

I agree with @elsigh

I get that message when I run pip install -r requirements.txt and not pip install -e . Both commands must be run prior to executing diffs:

pip install -r requirements.txt pip install -e .

ghost commented 8 years ago

Thanks for the swift response guys, Do you have to run those steps every time you run the virtualenv??

On Fri, Jul 29, 2016 at 9:10 PM, Erik Marty notifications@github.com wrote:

I agree with @elsigh https://github.com/elsigh

I get that message when I run pip install -r requirements.txt and not pip install -e . Both commands must be run prior to executing diffs:

pip install -r requirements.txt pip install -e .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bslatkin/dpxdt/issues/186#issuecomment-236281357, or mute the thread https://github.com/notifications/unsubscribe-auth/AMTIJkWSvXtVuYZL-H-46B0CiMw2ZQw2ks5qal49gaJpZM4JYUHF .

Darren Mackintosh Front End Developer Office Depot

T: +44 1908 592738 | M: +44 7876 216315

takuhii commented 8 years ago

It would seem that I am not running my compare scripts from the client, I was running them from command line...

bslatkin commented 8 years ago

@Darren-Mack Yes you need to always run from the virtualenv unless you install the dpxdt package globally.