#35 from pyx import * failes

closed
nobody
None
5
2012-10-16
2006-03-04
Anonymous
No

(b.reuderink@gmail.com) On my system running suse10, I
get the following error after installation when I try
to import PyX:

from pyx import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/usr/lib/python2.4/site-packages/pyx/init.py",
line 42, in ?
import(module, globals(), locals(), [])
File "/usr/lib/python2.4/site-packages/pyx/box.py",
line 27, in ?
import bbox, path, unit, trafo, helper
File "/usr/lib/python2.4/site-packages/pyx/path.py",
line 40, in ?
import bbox, canvas, trafo, unit
File
"/usr/lib/python2.4/site-packages/pyx/canvas.py", line
33, in ?
import attr, base, bbox, deco, deformer, unit,
prolog, style, trafo, version
File "/usr/lib/python2.4/site-packages/pyx/deco.py",
line 30, in ?
import attr, base, canvas, color, helper, path,
style, trafo, unit
File "/usr/lib/python2.4/site-packages/pyx/trafo.py",
line 60, in ?
class trafo_pt(canvas.canvasitem, deformer.deformer):
AttributeError: 'module' object has no attribute
'canvasitem'

Discussion

  • Logged In: NO

    Please ignore this bug. After reinstalling, PyX works. I
    assume I messed up my installation of PyX