Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: hsautogui-0.1.0 (user goal) [__1] trying: text-1.2.3.2/installed-1.2.3.2 (dependency of hsautogui) [__2] next goal: cpython (dependency of hsautogui) [__2] rejecting: cpython-3.4.0 (conflict: pkg-config package python-3.4-any, not found in the pkg-config database) [__2] rejecting: cpython-3.3.1 (conflict: pkg-config package python-3.3-any, not found in the pkg-config database) [__2] rejecting: cpython-3.3.0 (conflict: text==1.2.3.2/installed-1.2.3.2, cpython => text>=0.1 && <0.12) [__2] skipping: cpython-3.2.0, cpython-3.1.4, cpython-3.1.3, cpython-3.1.2.1, cpython-3.1.2.0, cpython-3.1.1.0 (has the same characteristics that caused the previous version to fail: excludes 'text' version 1.2.3.2) [__2] rejecting: cpython-3.1.0 (conflict: pkg-config package python-3.1-any, not found in the pkg-config database) [__2] fail (backjumping, conflict set: cpython, hsautogui, text) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: text, cpython, hsautogui, base Try running with --minimize-conflict-set to improve the error message.