Install Spynner on Virtualenv


Installing Spynner which using Qt4 and autopy module as it 3rd party is can’t run smooth under virtualenvironment. Thigs to do here :

1. Install Qt4 and make it works with Virtualenv
Follow this links Install pyqt4 on virtualenvironment

2. Install autopy under Virtualenv
We may facing several errors while installing autopy under Virtualenv.

Xtest.h problems :

1
src/keypress.c:10:35: fatal error: X11/extensions/XTest.h: No such file or directory

Solution:

1
sudo yum install libXtst-devel

Png.h problems :

1
src/png_io.c:3:17: fatal error: png.h: No such file or directory

Solution:

1
sudo yum install libpng-devel

3. Install spynner

1
pip install spynner

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.