Can't import multiprocessing in plugin

johtso 13 years ago updated by Fredrik Ehnbom 12 years ago 1
When I try to import multiprocessing I get this Traceback:

Traceback (most recent call last):

  File ".\sublime_plugin.py", line 57, in reload_plugin
  File ".\plugin.py", line 5, in <module>
    from multiprocessing import Process, Queue
  File "<string>", line 27, in load_module
  File ".\multiprocessing\__init__.py", line 83, in <module>
ImportError: No module named _multiprocessing

Does anyone know what's going on?
Are you using Linux? I found that I can't import ctypes on Linux, but it works on Windows and Mac (http://sublimetext.userecho.com/topic/85126-ctypes-cant-be-imported-in-linux/).

Seems like the native python .so's aren't packed in the Linux version or something.