Jun-24-2019, 11:00 AM
Hi,
I have an ETL project and 8 main directories. One of them has directories has my own written modules that need to be imported in scripts in order the code to work.
Those are all in the same folder but after endless trying the script in one directory won't import modules from the other.
I wrote it like this:
"from directory.modules import mymodule"
and it gives me an error
"no module directory"
Anyone have suggestion what can be causing this error and how should I fix it?
I have an ETL project and 8 main directories. One of them has directories has my own written modules that need to be imported in scripts in order the code to work.
Those are all in the same folder but after endless trying the script in one directory won't import modules from the other.
I wrote it like this:
"from directory.modules import mymodule"
and it gives me an error
"no module directory"
Anyone have suggestion what can be causing this error and how should I fix it?