-
Python >= 2.6 (< 3.x)
-
PyQt4 >= 4.8.0
-
Qt >= 4.7.0
-
python-argparse >= 1.2.1 (Python 2.6 only)
-
PIL (python-imaging-library) >= 1.1.7 (optional; for rendering to GIF)
Windows
Download and install the required programs.
Qt4 - PyQt4 comes packaged with the Qt runtime library(s)
Ubuntu
Open a terminal window, and enter the command
sudo apt-get install python-qt4 python-imaging
All the required packages should be automatically pulled in and installed.
PyPi
You can also install the latest stable release from PyPi with
pip install pyphantomjs
Afterward, you can invoke the program withpyphantomjs