Home Download Buy Blog Forum Support

ImportError: No module named select

ImportError: No module named select

Postby Esente on Sat Apr 07, 2012 2:50 am


I'm working on a plugin that uses a third-party library that imports module `select`, but Sublime complains of not having that module.

Is there a way to put that module in, cause it looks like Sublime's Python does not have it.

Oh, I'm on Windows 7.
Posts: 26
Joined: Mon Aug 16, 2010 7:20 pm

Re: ImportError: No module named select

Postby wbond on Wed Apr 11, 2012 3:57 pm

You can bundle python modules with a package (I do so with the SFTP package). It is likely that there is a _select.so or some sort of platform-specific compiled object necessary for Windows. You'd need to compile, or get your hands on both the 32bit and 64bit versions. That said, in the past when Jon has excluded specific modules, it is because of incompatibilities. It may be worth emailing him and asking why it is not included. You may be in for quite a bit more work if you need to try and come up with a solution to work around compatibility issues.
Posts: 568
Joined: Mon Feb 28, 2011 5:33 am

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 2 guests