I\'m trying to import a module (venues) from an IPython shell. The venues module is correctly imported but it then tries itself to import a module
The
makesoup.pyfile is also located in theprocessorssubdirectory, which means any Python script near it should be able to find it, right?
No. This feature was changed in Python 3 and that syntax no longer works.
Change the import makesoup to this:
from . import makesoup
Or to this:
from processors import makesoup
Both of these will make it impossible to run python processors/venues.py directly, though you can still do python -m processors.venues from your home directory.