Hi,
As suggested, we are looking into upgrading our Pylons version to 1.0 from
0.10. In the process, we just installed Pylons 1.0 and tried creating a
SimpleSite (as per tutorial) just to see the basics are fine. Python version
is 2.7.3.
When running "paster serve --reload development.ini", we ran into following
issue:
Starting subprocess with file monitor
Traceback (most recent call last):
File "/home/pinakee/pylons101_env/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteScript-1.7.5-p
y2.7.egg/paste/script/command.py", line 104, in run
invoke(command, command_name, options, args[1:])
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteScript-1.7.5-p
y2.7.egg/paste/script/command.py", line 143, in invoke
exit_code = runner.run(args)
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteScript-1.7.5-p
y2.7.egg/paste/script/command.py", line 238, in run
result = self.command()
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteScript-1.7.5-p
y2.7.egg/paste/script/serve.py", line 284, in command
relative_to=base, global_conf=vars)
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteScript-1.7.5-p
y2.7.egg/paste/script/serve.py", line 321, in loadapp
**kw)
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteDeploy-1.5.0-p
y2.7.egg/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, **kw)
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteDeploy-1.5.0-p
y2.7.egg/paste/deploy/loadwsgi.py", line 272, in loadobj
return context.create()
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteDeploy-1.5.0-p
y2.7.egg/paste/deploy/loadwsgi.py", line 710, in create
return self.object_type.invoke(self)
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteDeploy-1.5.0-p
y2.7.egg/paste/deploy/loadwsgi.py", line 146, in invoke
return fix_call(context.object, context.global_conf,
**context.local_conf)
File
"/home/pinakee/pylons101_env/lib/python2.7/site-packages/PasteDeploy-1.5.0-p
y2.7.egg/paste/deploy/util.py", line 56, in fix_call
val = callable(*args, **kw)
File "/home/pinakee/SimpleSite/simplesite/config/middleware.py", line 37,
in make_app
config = load_environment(global_conf, app_conf)
File "/home/pinakee/SimpleSite/simplesite/config/environment.py", line 48,
in load_environment
engine = engine_from_config(config, 'sqlalchemy.')
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/__init__.py", line
350, in engine_from_config
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/__init__.py", line
331, in create_engine
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/strategies.py", line
64, in create
File
"build/bdist.linux-x86_64/egg/sqlalchemy/dialects/sqlite/pysqlite.py", line
295, in dbapi
ImportError: No module named pysqlite2
We are not sure what we did wrong. We just created a virtual environment,
used easy_install to install Pylons, created the SimpleSite, ran "python
setup.py develop".
Would appreciate if you could please let us know the reason for the above
error.
Looking forward to your response and support.
Thanks,
Pinakee Biswas
Director & CTO
cid:E95B8D36-1F36-4B11-B91A-CF8977B83894
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
<<image001.jpg>>
