While trying to create a simple example of this problem, I narrowed it down to not having an __init__.py in my package directory.
In my testing, I would just point PYTHONPATH at the package directory, and that works with 2 but fails with 3.Some difference there between the two versions that I don't understand.
--Guy
On Tuesday, August 19, 2014 4:07:38 PM UTC-5, Robert Bradshaw wrote:On Tue, Aug 19, 2014 at 1:31 PM, Guy Streeter <guy.st...@gmail.com> wrote:
> My .pxy file imports an external python module. This works fine on
> Cython/Python2, but on 3 I get:
>
> SystemError: Parent module '' not loaded, cannot perform relative import
>
> but this is not a relative import. Anybody else see this happen?
Do you have a pointer to some code where this is not working?
--
---
You received this message because you are subscribed to the Google Groups "cython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.