Christoph Groth wrote: > kwant/_system.pyx:8:0: 'graph.defs.pxd' not found That part *is* related to Pyrex -- it's a holdover from the old method of dealing with .pyx files in packages. It doesn't have anything to do with relative imports, though. -- Greg