Project structure
test/
--test.py
--pkg/
----p1.py
----p2.py
test.py
import pkg.p1  
pkg.p1.print_p1()  
p1.py
import p2  
def print_p1():  
  print('in p1')  
  p2.print_p2() 
p2.py
def print_p2():  
    print('in p2')  
When I run test.py, I gets ModuleNotFoundError: No module named 'p2'.
Tried adding empty __init__.py but still no luck. Any expert can help?
Thanks in advance.
 
     
    