I think this is due to the directory name -myproject and your name in the setup.py file not aligning. When importing I believe the <import 'name'> should match the directory of which the package is named.