I have following similar directory structure.
main.py
pack
|___sub_pack1
|__a.py
|___sub_pack2
|__b.py
<
Another thing you can do if you're having trouble with "Unsolved reference" errors in PyCharm is:
Make sure you've done this for all your Python source directories.
Go to settings-> project structure and sub_pack2 as a source