Any py gurus?

On Wed, Jun 16, 2010 at 8:42 PM, Radhakrishna <radhakrishn...@gmail.com>wrote:

> This may be very silly, but I cant figure out the problem. Everything
> seems to be in place.
> I have deployed my django project to Apache using mod_wsgi. In urls.py
> I am mapping "gateway/" to gateway.py which imports 'pyamf' module.
> The problem is, even though pyamf module is in python path, its not
> able to find it. I can import it from command line and when in django
> development server.
>
> ViewDoesNotExist at /gateway/
> Could not import TestProject.gateway. Error was: No module named pyamf
> Request Method: GET
> Request URL:    http://localhost/dj/gateway/
> Django Version: 1.2.1
> Exception Type: ViewDoesNotExist
> Exception Value:
> Could not import TestProject.gateway. Error was: No module named pyamf
> Exception Location:     D:\Python2.6\lib\site-packages\django\core
> \urlresolvers.py in _get_callback, line 134
> Python Executable:      C:\Program Files\Apache Software Foundation
> \Apache2.2\bin\httpd.exe
> Python Version: 2.6.0
> Python Path:    ['D:\\Python2.6\\python26.zip', 'D:\\Python2.6\\Lib', 'D:\
> \Python2.6\\DLLs', 'D:\\Python2.6\\Lib\\lib-tk', 'C:\\Program Files\
> \Apache Software Foundation\\Apache2.2', 'C:\\Program Files\\Apache
> Software Foundation\\Apache2.2\\bin', 'D:\\Python2.6', 'D:\\Python2.6\
> \lib\\site-packages', 'D:/DjangoProjects', 'D:\\Python2.6\\Lib\\site-
> packages\\pyamf']
> Server time:    Wed, 16 Jun 2010 20:37:57 +0530
>
> Any idea whats going on? As you can see, pyamf is in python path.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to