Hi, my builds require the pyautogui package in python3.
I’m using Ubuntu 14.04 (Trusty).
I’m trying to configure installations for circle.yml with no luck.
It does work locally on my machine, but fail on CircleCI.
Those are the relevant configurations from circle.yml:
machine:
python:
version: 3.4.3
dependencies:
pre:
- sudo apt-get install python3-setuptools
- sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tcl8.6-dev tk8.6-dev
- sudo easy_install3 pip
- sudo pip3 install python3-xlib
- sudo apt-get install scrot
- sudo apt-get install python3-tk
- sudo apt-get install python3-dev
- sudo apt-get install libjpeg-dev
- sudo pip3 install image
- sudo pip3 install Pillow
- sudo pip3 install PyAutoGui
When running sudo pip3 install PyAutoGui
I get:
Xlib.error.DisplayConnectionError: Can't connect to display ":99": [Errno 2] No such file or directory
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-pru_lckq/PyAutoGui/
Got any suggestions?