Sublime Forum

Sublime Text and Packages

#1

I am a rather naive Python and Sublime Text user, and I need your help. I understand that there is great power in the ability to use packages generated by other users. I have tried and failed to get a package working in Sublime Text. Here is what I have done:

  • Used pip3 to download a package onto my iMac

  • Successfully used the terminal on the iMac to execute the package. So it works on my iMac

  • Imported the package into a program in Sublime Text, but the program bombs

My general question is there something that I need to do to get pip3 packages to run in Sublime Text? Some kind of importing function or utility???

Any help would be most appreciated.

0 Likes

#2

If you’re trying to install a python package to use with your otherwise not Sublime Text related python code then generally it’s a problem with your code or your system. If you’re writing a plugin for Sublime Text then you can’t use pip to install a package.

It would help to actually show how the “program bombs”.

0 Likes

#3

Also (and this maybe indeed unhelpful) you say

have you tried installing packages with Package Control (which you might have to install, it’s been a very long time since the beginning) and or Package Dev. Perhaps I’m barking up the wrong tree here completely…

0 Likes