sublime-text-virtualenv icon indicating copy to clipboard operation
sublime-text-virtualenv copied to clipboard

ImportError with locally defined modules

Open edz504 opened this issue 9 years ago • 0 comments

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!

edz504 avatar Dec 09 '15 16:12 edz504