Git Product home page Git Product logo

pygui's People

Contributors

gcewing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pygui's Issues

PyGui not registered in PyPi?

I am unable to use PIP to install PyGui. Can you please add it into Pypi's index, so that it can be installed, and kept up to date?

Thanks.

Could not get blobedit.py to work on Mint 19/GTK+

I tried it in my Mint 19/Cinnamon environment. I'm not sure if PyGUI is supposed to work with GTK 3 or 2, so I tried installing both, although maybe I messed something up.

$ sudo apt install libgtk-3-dev python-gtk2
$ cd $git
$ git clone https://github.com/gcewing/PyGUI.git
$ cp -a PyGUI/Demos/BlobEdit $my_projects
$ cd $my_projects/BlobEdit
$ python3 -m venv venv
$ . venv/bin/activate
$ pushd $git/PyGUI
$ python setup.py install
[lots of output; nothing scary-looking; exit status 0]
$ popd
$ python blobedit.py
Traceback (most recent call last):
  File "blobedit.py", line 16, in <module>
    from GUI import Application, ScrollableView, Document, Window, Cursor, rgb
  File "$my_projects/BlobEdit/venv/lib/python3.6/site-packages/GUI/__init__.py", line 54, in <module>
    raise ImportError("Unable to find an implementation of PyGUI for this installation")
ImportError: Unable to find an implementation of PyGUI for this installation

I eventually got past that exception, like this:

$ pip install vext
$ pip install vext.gi
$ pip install PyGObjectg

But then I got stuck with:

$my_projects/BlobEdit/venv/lib/python3.6/site-packages/GUI/__init__.py:49: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  __import__(_testmod)
Traceback (most recent call last):
  File "blobedit.py", line 16, in <module>
    from GUI import Application, ScrollableView, Document, Window, Cursor, rgb
  File "$my_projects/BlobEdit/venv/lib/python3.6/site-packages/GUI/__init__.py", line 74, in <module>
    from GUI.Colors import rgb
  File "$my_projects/BlobEdit/venv/lib/python3.6/site-packages/GUI/Colors.py", line 5, in <module>
    from gtk import Style
ImportError: cannot import name 'Style'

I tried it in a new venv with --system-site-packages, but this didn't help. And of course, I don't want to run PyGUI's setup.py without a venv.

Advice would be appreciated, and I suggest you add solutions for problems like this in README.md, especially until #1 is resolved.

Is this project dead?

There have been no commits for over 2 years. Are there any plans to keep maintaining this project? It seems to be the most Pythonic cross-platform GUI API I've come across so far, but there's still a lot of work to do. It would be nice if more developers came to the party—cross-platform GUIs are a big animal to tame.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.