Home Download Buy Blog Forum Support

Adding python modules to sublime text?

Adding python modules to sublime text?

Postby Naughtron on Mon Feb 04, 2013 7:39 pm

Hello All,
This is my first post on the forums, and I have what many of you may consider a very simple question(s) however I am new to both sublime text and python.
I am currently building a simple web app in python, and I was able to setup a new build system [python 2.7] in sublime text.
My question is related to an error I get on build

Traceback (most recent call last):
File "C:\xxxxxxxxxxxxxxxxx", line 1, in <module>
import requests
ImportError: No module named requests
[Finished in 0.1s with exit code 1]

I understand what the error is saying however I do not understand how to import the module into sublime text so that I can use things like "requests" and "json" etc.

I have two questions:

1. Is there a way that I can load all current python modules into sublime text? [if so where do I get that from?]
2. How do I go about adding these modules once I find them? [I would need step by step instructions]

I know this is a very basic set of question, please keep in mind I am new to this.
Naughtron
 
Posts: 1
Joined: Mon Feb 04, 2013 7:33 pm

Return to General Discussion

Who is online

Users browsing this forum: danpyq and 20 guests