On Thursday, 5 April 2018 18:17:34 UTC+1, Axel Braun wrote: > Am Donnerstag, 5. April 2018, 18:54:17 CEST schrieb John: > > On Thursday, 5 April 2018 17:38:25 UTC+1, Axel Braun wrote: > > > Am Donnerstag, 5. April 2018, 18:08:33 CEST schrieb John: > > > [...] > > > > > > > "/home/path/to/tryton/folder/env/local/lib/python2.7/site-packages/tryto > > > > n/c > > > > lient.py", line 170, in <module> import pygtk > > > > ImportError: No module named pygtk > > > > > > > > Sao works decently, but has a number of quirks that make it less > > > > desirable > > > > especially for smaller screens. I am using a virtual environment, and > > > > I've > > > > tried installing pygtk without any success. > > > > > > > > Any ideas how should I proceed? > > > > > > Install python-gtk > > > > > > HTH > > > Axel > > > > If I run "pip install python-gtk" I get: > > > > InsecurePlatformWarning > > Could not find a version that satisfies the requirement python-gtk (from > > versions: ) No matching distribution found for python-gtk > > > > If I instead run "sudo pip isntall python-gtk" I get: > > > > Downloading/unpacking python-gtk > > Could not find any downloads that satisfy the requirement python-gtk > > Cleaning up... > > No distributions at all found for python-gtk > > > > Either way installation fails. > > It depends probably on the system that you are working on, which the > 'correct' > name of the package is. On pypi for example, PyGTK is probably the right one: > https://pypi.org/project/PyGTK/
Running "pip install PyGTK" seems to find the package, but it runs into a different error: InsecurePlatformWarning Downloading pygtk-2.24.0.tar.bz2 (2.4MB) 100% |████████████████████████████████| 2.4MB 580kB/s Complete output from command python setup.py egg_info: ******************************************************************** * Building PyGTK using distutils is only supported on windows. * * To build PyGTK in a supported way, read the INSTALL file. * ******************************************************************** ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-QOAAmv/PyGTK/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/e296fd7d-366b-44af-8228-485050192c1e%40googlegroups.com.