I am working on some repacking of a project that has a variety of different technologies involved. I am trying to move a python module into the project structure for storage in git and have all project files located together.
The python code works in its on folder. I have empty __init__
in each folder and there are no problems with from Documents import *
When I move the folder into my larger project, all of these imports fall apart.
Can anyone please help me to understand what is different? the relative locations seem to be all the same, I wouldn't have thought putting the project in another folder should've affected the ability to see the other modules
Thanks
EDIT:
as mentioned in answers, I try accessing it by nbcu_nes_ingest.Package
which appears to work on windows in my dev box.
When I deploy it to AWS server where things will live, I get the following.
I cannot run my setup.py anymore and It still doesnt see the import