Skip to content

ImportError with locally defined modules #7

Description

@edz504

I use this plugin with SublimeREPL and have had no problems until now. However, I'm just now trying to import a locally defined module within SublimeREPL + virtualenv, and I'm getting an ImportError.

Here's my folder structure (main.py tries to import a Class defined in utilities.py):

folder/
main.py
utilities.py
init.py

If I use SublimeREPL with no virtualenv, I can successfully import the module.
If I use bash and activate the virtualenv from there, and then open up a Python shell, I can also successfully import the module.

Any ideas? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions