ML icon indicating copy to clipboard operation
ML copied to clipboard

Intermodule importing using `import` not working (`from ... import ...` works fine)

Open khatchad opened this issue 1 year ago • 0 comments

Importing a module from within the same directory works fine. Importing a module from another directory using PYTHONPATH also (mostly) works. But, if a module (with PYTHONPATH) imports another module from the same package (directory) using the import syntax, that doesn't seem to work.

Regression

Using the from X import Y syntax works fine.

khatchad avatar Jul 22 '24 16:07 khatchad