I'm trying to implement this code but getting Error: No module named engine
http://github.com/robstyles/Massive-Coupon---Open-source-groupon-clone
Any thoughts?
I'm trying to implement this code but getting Error: No module named engine
http://github.com/robstyles/Massive-Coupon---Open-source-groupon-clone
Any thoughts?
You probably don't have any module named "engine" on your PYTHONPATH
anyplace. Either the installation went in the wrong location, or your Django setup was not set to include that path.
Check follow steps
__init__
.pyHi I have received a similar error after running: python manage.py runserver, any thoughts with this one?
I received the error: Unhandled Exception
An unhandled exception was thrown by the application.
Validating models...
Unhandled exception in thread started by <function inner_run at 0xc942a8>
Traceback (most recent call last):
File "/home4/usr/.local/lib/python/Django-1.2.1-py2.4.egg/django/core/management/commands/runserver.py", line 48, in inner_run
self.validate(display_num_errors=True)
File "/home4/usr/.local/lib/python/Django-1.2.1-py2.4.egg/django/core/management/commands/runserver.py", line 48, in inner_run
self.validate(display_num_errors=True)
File "/home4/usr/.local/lib/python/Django-1.2.1-py2.4.egg/django/core/management/base.py", line 245, in validate
num_errors = get_validation_errors(s, app)
File "/home4/usr/.local/lib/python/Django-1.2.1-py2.4.egg/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/home4/usr/.local/lib/python/Django-1.2.1-py2.4.egg/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/home4/usr/.local/lib/python/Django-1.2.1-py2.4.egg/django/db/models/loading.py", line 61, in _populate
self.load_app(app_name, True)
File "/home4/usr/.local/lib/python/Django-1.2.1-py2.4.egg/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/home4/usr/.local/lib/python/Django-1.2.1-py2.4.egg/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home4/usr/.local/lib/python/massivecoupon/paypalxpress/models.py", line 96
self.charged = Decimal(amount) if amount is not None else None
^
SyntaxError: invalid syntax
I made sure all the suggestions above were included and still received the same error. Any thoughts for this one?
same problem here too... i think its beacuse the python version 2.4
What is more strange is that im using 2.7, but when django runs it calls for 2.4
[root@moa public_html]# python Python 2.7 (r27:82500, Oct 27 2010, 15:06:39) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import sys sys.path ['', '/opt/local/python/lib/python27.zip', '/opt/local/python/lib/python2.7', '/opt/local/python/lib/python2.7/plat-linux2', '/opt/local/python/lib/python2.7/lib-tk', '/opt/local/python/lib/python2.7/lib-old', '/opt/local/python/lib/python2.7/lib-dynload', '/opt/local/python/lib/python2.7/site-packages', '/opt/local/python/lib/python2.7/site-packages/PIL']
and the error
[Fri Oct 29 11:33:55 2010] [error] [client 200.196.0.3] import_module('%s.admin' % app) [Fri Oct 29 11:33:55 2010] [error] [client 200.196.0.3] File "/usr/lib/python2.4/site-packages/django/utils/importlib.py", line 35, in import_module [Fri Oct 29 11:33:55 2010] [error] [client 200.196.0.3] import(name) [Fri Oct 29 11:33:55 2010] [error] [client 200.196.0.3] File "/home/kikbeec/public_html/paypalxpress/admin.py", line 4, in ? [Fri Oct 29 11:33:55 2010] [error] [client 200.196.0.3] from paypalxpress.models import PayPalResponse, PayPalResponseStatus [Fri Oct 29 11:33:55 2010] [error] [client 200.196.0.3] File "/home/kikbeec/public_html/paypalxpress/models.py", line 96 [Fri Oct 29 11:33:55 2010] [error] [client 200.196.0.3] self.charged = Decimal(amount) if amount is not None else None [Fri Oct 29 11:33:55 2010] [error] [client 200.196.0.3] ^ [Fri Oct 29 11:33:55 2010] [error] [client 200.196.0.3] SyntaxError: invalid syntax
plz help!!
tks