r you invoke 'dev_appserver.py' from the command line.
>
> A solution to solve all import errors is to put the GAE SDK first in your
> path, as such:
>
> export PATH={$GAE}:${PATH}
>
> On Monday, August 29, 2016 at 8:47:49 PM UTC-4, Mak Ahmad wrote:
>>
>> ok I can run i
our sys.path, so please try dumping sys.path from your app handler to
> see what's going on.
>
> On Sunday, August 28, 2016 at 6:51:56 PM UTC-4, Mak Ahmad wrote:
>>
>> I made that change in the bash file and re-ran the export and get this now
>>
>> USERNAME-macbo
GAE/lib/django-1.5"
>
> I suspect $PYTHONPATH is empty string before that export line, which
> creates a leading : after export.
>
> On Sunday, August 28, 2016, Mak Ahmad <m...@joobali.com >
> wrote:
>
>> Hi Adam,
>>
>> How do I remove them from
at just prints sys.path and share the output of
> that. It will also help to confirm if *all* external imports don't work
> and not just the Django import.
>
> On Tuesday, August 23, 2016 at 10:25:38 PM UTC-4, Mak Ahmad wrote:
>>
>> here it is Adam
>>
>> USERNAME-macbookpro:Documents U
nment variables eg. PYTHON_PATH
> $ export | grep PYTHON
>
>
> On Monday, August 22, 2016 at 8:09:45 PM UTC-4, Mak Ahmad wrote:
>>
>> I tried a few things and also tried
>>
>> http://howto.pui.ch/post/39245389801/tutorial-django-on-appengine-using-google-clou
ect.
>
> On Wednesday, August 17, 2016 at 12:44:56 PM UTC-4, Mak Ahmad wrote:
>>
>> Sorry there's nothing else I'm doing with the sys path. I just deleted my
>> working directory and did pip uninstall django so it uninstalled it from
>> the Python library. I then re
> should use either the built-in django or vendor your own with pip, but
> not both at the same time.
>
> On Sunday, August 14, 2016 at 2:33:09 PM UTC-4, Mak Ahmad wrote:
>>
>> Thank you Adam. I should have shared that I already do have django in my
>> app.yaml
>
lder.
> vendor.add('lib')
>
> Then install the library:
>
> $ cd myapp/
> $ pip install django -t lib/
>
> By default dev_appserver.py excludes local site-packages and it's best to
> not try and override this, since your app will only work locally and not
> when depl
Forgot to mention, I get that django wsgi error when trying to
access http://localhost:8080/
On Saturday, August 13, 2016 at 9:31:47 AM UTC-7, Mak Ahmad wrote:
>
> Hi I'm getting the following error and cannot find anything in the forums
> that has helped me with AppEngine:
>
&
Hi I'm getting the following error and cannot find anything in the forums
that has helped me with AppEngine:
ImportError: No module named django.core.handlers.wsgi
Here's my code
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings'
#import sys
#sys.path.append('lib')
10 matches
Mail list logo