python - Mysql + SQLAlchemy + Pylons Issue -


I am trying to set up my model in Pilanes using a MySQL backend and I receive the following: / P> Tracebacks (last most recent call): File "/ usr / local / bin / paster", line 8, & lt; Module & gt; Load_entry_point ('Paste Script == 1.7.3', 'console_script', 'pastor') () file "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg / Paste / script / command.py ", line 84, run invoice (command, command_name, options, arguments [1:]) file" /usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3 -py2.6.egg / paste / script / command.py, in line 123, exit_code = runner.run (args) file "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7 3-py2.6.egg / paste / script / command.py ", line 218, in run result = self.command () file" /usr/local/lib/python2.6/dist-packages/PasteScript-1.7 3-py2.6.egg / paste / script / service.py ", line 276, in command Relative_to = base, global_conf = vars) file "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7 .3-py2.6.egg / paste / script / service.py", line 313, ** kw in the loadout file "/usr/local/lib/python2.6/dist-packages/PasteDeploy-1.3.3- Py2.6.egg / paste / deploy / loadwsgi.py", line 204, load in loadout LoadBox (APP, Yuri, Name = Name, ** KW) File "/usr/local/lib/python2.6/dist-packages/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py ", Line 225, loadboss returns" /usr/local/lib/python2.6/dist-packages/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py "in the context.create () file. , Line 625, self.object_type.inovoke (self) file in reverse "/usr/local/lib/python2.6/dist-packages/PasteDeploy-1.3.3-py2.6.egg" /paste/deploy/loadwsgi.py ", line 110, fix the return fix_call (context.object, Context.global_conf, ** context.local_conf) file" /usr/local/lib/python2.6/dist-packages/ PasteDeploy-1.3.3-py2.6.egg / paste / deploy / util / fixtypeerror.py ", line 57, fix_close val = callable (* args, ** kw) file" / home / kyle / kyleterry / kyleterry / config /middleware.py ", line_38, make_app load_environment (global_config, app_conf) file" / home /kyle/kyleterry/kyleterry/config/environment.py ", line 41, in load_environment engine = engine_from_config (config, 'sqlalchemy.') File "/usr/local/lib/python2.6/dist-packages/Sclaimie -0.5.2-PA 2.6.ge/Sklecheme / Engine / __init__.py", line 241, in the engine_frame_reference return_in ( Prl, ** opts) file "/usr/local/lib/python2.6/dist- package / esclaimy-0.5.2-pA 2.6.gg / skelechki / engine / __init__.py", line 223, to create Return strategy .create (* Args, ** kwargs) File "/ usr / local / lib / python2.66 / dist-packages / SQLAlchemy-0.5.2-py2.6.egg / sqlalchemy / engine / strategies", line 62 , Create dbapi = dialect_cls.dbapi (** dbapi_args) file "/ usr / local / lib / python2.6 / dist-packages / SQLAlchemy-0.5.2-py2.6.egg / sqlalchemy / database / mysql.py" , Dbapi import into MySQLdb mysql file as "/ usr / local / lib / python2.66 / dist-packages / MySQL_python-1.2.3c1-py2.6- linux-i686.egg / MySQLdb / __ init__", in line 1456. Py ", line 19 , In & lt; Module & gt; File "/usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3c1-py2.6-linux-i686.egg/_mysql.py", line 7, & lt; Module & gt; The file "/usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3c1-py2.6-linux-i686.egg/_mysql.py", in line 6, __bootstrap__ importError: libmysqlclient_r.so.15 : The shared object file can not open: there is no such file or directory

I have tried to find an answer online but nothing is working.

EDIT: It has been solved. The best way can be found here:


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -