Pizza.py with Python 3?

Hi all,
Quick question — is Pizza.py (and all its dependencies) compatible with Python 3 or not?
Thanks - Yen Lee

1 Like

Hi all,
Quick question — is Pizza.py (and all its dependencies) compatible with Python 3 or not?

no.

Hi all: Can someone give hints on how to get Pizza.py working (i.e. how to install “Numeric” and “Togl” on python 2.7.16)? Numeric appears to be a very old library. Pizza is supposed to able to use either Numeric or numpy (which I have), but see below. Thanks in advance. -Yen Lee

  1. I was only able to find the SourceForge version of Pizza.py dated 1 Oct 2006 (although the forums implied that versions exist as recently as May 2012).

  2. Running python -i pizza.py gives error messages as follows:


dump tool did not load:
No module named Numeric
No handlers could be found for logger “OpenGL.Tk”
Traceback (most recent call last):
File “pizza.py”, line 348, in
exec "from %s import s" (tool,tool)
File “”, line 1, in
File “/home/yloh/TST/pizza-1Oct06/src/gl.py”, line 128, in
from OpenGL.Tk import *
File “/home/yloh/.local/lib/python2.7/site-packages/OpenGL/Tk/init.py”, line 119, in
_default_root.tk.call(‘package’, ‘require’, ‘Togl’)

_tkinter.TclError: can’t find package Togl

The home page of Pizza.py is at pizza.sandia.gov. You can download the latest version from there.

But I would not expect all features to work. A bunch of them depend on add-on packages, that are not compatible with recent python versions.

Axel