Sublime Forum

ImportError: No module named select

#1

Hi,

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.

0 Likes

#2

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.

0 Likes