wala / ML

Eclipse Public License 2.0
23 stars 17 forks source link

Importing a module for a package on a PYTHONPATH doesn't work #178

Closed khatchad closed 2 months ago

khatchad commented 3 months ago

The following works:

from tensorflow import ones
from C.B import f

f(ones([1, 2]))

The following doesn't work:

from tensorflow import ones
from C import B

B.f(ones([1, 2]))

Specifically, we can't resolve B.