Re: Ubuntu package python3 does not include tkinter
On Apr 21, 11:36 pm, Rui Maciel rui.mac...@gmail.com wrote: Steven D'Aprano wrote: It's only easy to install a package on Ubuntu if you know that you have to, and can somehow work out the name of the package. No one actually has to install tkinter. That's the whole point of providing it as a separate package: only those who want to use it have to install it. The rest of us don't. I'm a programmer, I installed Tkinter, and use it. I'd like to deploy programs written with it to others. **Those** people know nothing about it, and **shouldn't have to**. I've given them a program in Python, they have Python, but it doesn't run, and doesn't give them a helpful error. They'll probably just blame me and move on. Not every Python user is a programmer. If I write a program in Java, any user with Java installed can run it. As it stands, that's no true for Python. That's not good PR for the cause. -- http://mail.python.org/mailman/listinfo/python-list
Ubuntu package python3 does not include tkinter
Am I mistaken in my belief that tkinter is a non-optional part of the Python language? I installed the python3 package on Ubuntu, and tkinter is not included--it's an optional package python3-tk that has to be installed separately. I reported this as a bug as was summarily slapped down. Can we apply some pressure to Ubuntu to fix this? Python is a trademark, is it not? Can Ubuntu legally claim that their Python package is an implementation of the language if it does not include the whole language? -- http://mail.python.org/mailman/listinfo/python-list
Re: Ubuntu package python3 does not include tkinter
Thanks, but I'm not having any trouble running tkinter, it works just fine. I have an issue with the fact that it's optional. It reflects badly on the language and community if we allow just anyone to call something Python that doesn't meet some minimum standard of quality. Java has its compliance tests: if your implementation doesn't pass, you can't call it Java. I'm asking if there's something similar for Python, because Ubuntu's Python 3 doesn't pass the test. -- http://mail.python.org/mailman/listinfo/python-list
Re: Ubuntu package python3 does not include tkinter
On Apr 19, 10:35 am, Andrew Berg bahamutzero8...@gmail.com wrote: On 2013.04.19 12:17, lcrocker wrote: Am I mistaken in my belief that tkinter is a non-optional part of the Python language? I installed the python3 package on Ubuntu, and tkinter is not included--it's an optional package python3-tk that has to be installed separately. I reported this as a bug as was summarily slapped down. Forcing Tkinter as a dependency would result in a ton of things being installed to support it. Why should a web server using Django have X installed and running because Python /can/ support a GUI in the standard library? It's trivial to install Tkinter if you need it, but it would be a huge mess to try to remove it from an installation that requires it - even if you never use Tkinter. Ubuntu is far from alone here. FreeBSD (and probably the other BSDs) and most Linux distros do something similar. There is zero reason to force Tkinter and its dependencies on all Python users. -- CPython 3.3.0 | Windows NT 6.2.9200 / FreeBSD 9.1 I understand that for something like a server distribution, but Ubuntu is a user-focused desktop distribution. It has a GUI, always. The purpose of a distro like that is to give users a good experience. If I install Python on Windows, I get to use Python. On Ubuntu, I don't, and I think that will confuse some users. I recently recommended Python to a friend who wants to start learning programming. Hurdles like this don't help someone like him. -- http://mail.python.org/mailman/listinfo/python-list