adamn / python-webkit2png

Python script that takes screenshots (browsershots) using webkit
Other
937 stars 201 forks source link

Documentation improvement #44

Open darklow opened 10 years ago

darklow commented 10 years ago

You could add somewhere on README that if virtualenv is used, it must be created using --system-site-packages otherwise python doesn't have access to PyQt4 lib and error is shown.

virtualenv env --system-site-packages

Spent lot of time wondering why even after installing all the dependencies i got error when running webkit2png

>>> from PyQt4.QtCore import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named PyQt4.QtCore
Simanas commented 9 years ago

Agree!