phantomjs/python/INSTALL.md

31 lines
748 B
Markdown

### DEPENDENCIES
---------------------------------
* Python >= 2.6 (< 3.x)
* PyQt4 >= 4.8.0
* Qt >= 4.7.0
* python-argparse == (Python 2.6)
### INSTALLING
-------------------------
Windows
> Download and install the required programs.
>
[Python](http://www.python.org/download/)
[PyQt4](http://www.riverbankcomputing.co.uk/software/pyqt/download)
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`
>
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 with `pyphantomjs`