Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
khatchad opened this issue Apr 2, 2024 · 0 comments · Fixed by ponder-lab/ML#94
Closed

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

khatchad opened this issue Apr 2, 2024 · 0 comments · Fixed by ponder-lab/ML#94

Comments

@khatchad
Copy link
Collaborator

khatchad commented Apr 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant