phantomjs/python/INSTALL.md

31 lines
748 B
Markdown
Raw Normal View History

### DEPENDENCIES
---------------------------------
2011-07-04 11:11:42 +04:00
* Python >= 2.6 (< 3.x)
* PyQt4 >= 4.8.0
* Qt >= 4.7.0
* python-argparse == (Python 2.6)
### INSTALLING
-------------------------
Windows
2011-07-04 11:11:42 +04:00
> Download and install the required programs.
>
2011-07-04 11:11:42 +04:00
[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
2011-07-04 11:11:42 +04:00
> Open a terminal window, and enter the command `sudo apt-get install python-qt4`
>
2011-07-04 11:11:42 +04:00
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`