sublime-text-virtualenv
sublime-text-virtualenv copied to clipboard
ImportError with locally defined modules
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!