Unable to "require" macros from a file at a different directory by absolute path. #2618
-
When using "require", I can only load macros from a file in the same directory. For now, I have to use symbol link to simulate loading macros from a different directory. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You should be able to require a file from anywhere in
If it's not already in |
Beta Was this translation helpful? Give feedback.
You should be able to require a file from anywhere in
sys.path
, with the same rules asimport
. If not, it's a bug.If it's not already in
sys.path
, you can temporarily add its parent directory.