Wednesday, February 23, 2022

[SOLVED] Missing module when installing Sublime Text 3 on Debian

Issue

I downloaded the Sublime Text 3 archive from the official page for 32bit Debian. I extracted it and I ran the file PackageSetup.py with Python2.7. It gave me this traceback:

Traceback (most recent call last):
  File "sublime_plugin.py", line 4, in <module>
    import sublime
ImportError: No module named sublime

There is indeed no file named "sublime" in that archive, so what do I do now?


Solution

Debian packages come in .deb format. You just need to double-click it or run sudo dpkg -i /full/path/to/file.deb.

No need to extract it and run the scripts by hand.

This may help you: http://www.simonewebdesign.it/how-to-install-sublime-text-3-on-debian/



Answered By - Alex Tartan
Answer Checked By - Pedro (WPSolving Volunteer)