facebookarchive / huxley

A testing system for catching visual regressions in Web applications.
Apache License 2.0
4.07k stars 286 forks source link

Missing dependencies for `pip install huxley` #22

Closed ericclemmons closed 11 years ago

ericclemmons commented 11 years ago

pip install huxley failed, so I had to run the following individually:

$ pip install jsonpickle
$ pip install plac
$ pip install selenium
$ pip install pil

Finally, I could run:

$ pip install huxley

Want me to add this to the README?

ericclemmons commented 11 years ago

Yikes, and it gets worse. Apparently pip install jsonpickle installs 0.6.1, whereas huxley needs 0.4.0:

$ ⮀huxley
Traceback (most recent call last):
  File "/usr/local/bin/huxley", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.6.45-py2.7.egg/pkg_resources.py", line 2854, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.6.45-py2.7.egg/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: jsonpickle==0.4.0
petehunt commented 11 years ago

Ew, seems like I messed up the setup.py file. Will definitely try to get this one fixed, thanks!

ericclemmons commented 11 years ago

Geeze @petehunt! Never thought I'd expect that from you. You're right, that is ewwww...

plasticine commented 11 years ago

Any ETA on a fix for this? Not being able to pip install is sad :(

klamping commented 11 years ago

FYI, for anyone else interested in the steps to install with the dependencies the way they are, here's how I did it:

  1. First, you need to have Opera installed before all of this. Do that here: http://www.opera.com/computer/
  2. Install jsonpickle v0.4.0 (i had to use sudo, you may not)

    $ sudo pip install jsonpickle==0.4.0

  3. Install the remaining dependencies (again, i had to use sudo, you may not)

    $ sudo pip install plac $ sudo pip install selenium $ sudo pip install pil

  4. Then you can install huxley itself: $ sudo pip install huxley
petehunt commented 11 years ago

I'll try to cut a new release this week to fix this.

Sent from my iPhone

On Oct 6, 2013, at 3:38 PM, "Kevin Lamping" notifications@github.com<mailto:notifications@github.com> wrote:

FYI, for anyone else interested in the steps to install with the dependencies the way they are, here's how I did it:

  1. First, you need to have Opera installed before all of this. Do that here: http://www.opera.com/computer/https://urldefense.proofpoint.com/v1/url?u=http://www.opera.com/computer/&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=qYx6qLphxKhA5vHBqr9vuw%3D%3D%0A&m=XWNZ24MvzfBT0lAhk3D17tqvFcThJESXcfTkUXmpVQY%3D%0A&s=097519243086065b3da1e9a08e8f6cc23c853e642e77bc4519887dbfc2fc2caf
  2. Install jsonpickle v0.4.0 (i had to use sudo, you may not)

$ sudo pip install jsonpickle==0.4.0

  1. Install the remaining dependencies (again, i had to use sudo, you may not)

$ sudo pip install plac $ sudo pip install selenium $ sudo pip install pil

  1. Then you can install huxley itself: $ sudo pip install huxley

— Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v1/url?u=https://github.com/facebook/huxley/issues/22%23issuecomment-25774981&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=qYx6qLphxKhA5vHBqr9vuw%3D%3D%0A&m=XWNZ24MvzfBT0lAhk3D17tqvFcThJESXcfTkUXmpVQY%3D%0A&s=3cbb9665200b59a54ef24a8eed38f57a1e00a127e99bbce2d347aad2365f6cb9.

petehunt commented 11 years ago

Fixed in 0.4. Thanks!