Open whimboo opened 10 years ago
interesting. I haven't seen this error yet. Can you send us your sublime version.
Mozrunner is actually not used for the FF disabled version. This is an interesting problem here
I'm on Ubuntu 14.04 with Sublime Text 2 installed:
$ dpkg -l | grep sublime ii sublime-text 2.0.2-1~webupd8~3 all Sublime Text 2
Not sure if I wrongly set this up. I tried to best follow the steps as I could.
can you try to install distutils? I may assume that it is already installed in mac, here I got no error like that. But at the moment we are not using mozrunner, so I might even cut that off (cutting off a part of Firefox Desktop support, @sole?)
distutils is installed:
import distutils distutils.file '/usr/lib/python2.7/distutils/init.pyc'
Nope. You installed it for your python, not sublime one, (using 2.6).
Can you try to open the console in sublime and type import distutils? — Typed with hands
On Thu, Aug 14, 2014 at 11:10 AM, Henrik Skupin notifications@github.com wrote:
distutils is installed:
import distutils distutils.file
'/usr/lib/python2.7/distutils/init.pyc'
Reply to this email directly or view it on GitHub: https://github.com/mozilla/fireplay-sublime/issues/68#issuecomment-52220325
You are right. Sublime seems to use its own Python installation at './lib/python26.zip'. So how would I have to install distutils inside of sublime?
You have to install distutils with a python6 and in the python6 path!
I think I will just try to cut this reference — Typed with hands
On Thu, Aug 14, 2014 at 11:21 AM, Henrik Skupin notifications@github.com wrote:
You are right. Sublime seems to use its own Python installation at './lib/python26.zip'. So how would I have to install distutils inside of sublime?
Reply to this email directly or view it on GitHub: https://github.com/mozilla/fireplay-sublime/issues/68#issuecomment-52221745
Nope. That location already has distutils too. So sublime might use another path, or only supports packages inside the zip archive?
Failure when loading the plugin in sublime:
Reloading plugin /home/henrik/.config/sublime-text-2/Packages/fireplay/fireplay.py Traceback (most recent call last): File "./sublime_plugin.py", line 62, in reload_plugin File "./fireplay.py", line 16, in
from fireplaylib import firefox_helper
File "./fireplaylib/firefox_helper.py", line 1, in
import mozrunner
File "./fireplaylib/mozrunner/init.py", line 20, in
from distutils import dir_util
ImportError: No module named distutils