Я устанавливаю соединение ZMYSQLDA for Z MYSQL Databae с помощью buildout.
Вот мои первоначальные определения:
parts=
.....
zmysqlda
[zmysqlda]
recipe = cns.recipe.zmysqlda
target = ${productdistros:location}
Кажется, все в порядке, экземпляр сборки и сайт работают.
Для информации я уже установил MySQL_python через exe-файл, поэтому я могу импортировать MySQLdb.
Когда я представляю Products.ZMySQLDA в яйцах, он пытается получить MYSQL-python.Я не понимаю почему, так как он уже установлен.
Журнал выкупа
Unused options for buildout: 'eggs' 'download-directory'.
Updating productdistros.
Installing instance.
Getting distribution for 'MySQL-python==1.2.3'.
install_dir C:\Program Files\Plone 404/buildout-cache/eggs\tmparsmo9
error: The system cannot find the file specified
An error occured when trying to install MySQL-python 1.2.3. Look above this mess
age for any errors that were output by easy_install.
While:
Installing instance.
Getting distribution for 'MySQL-python==1.2.3'.
Error: Couldn't install: MySQL-python 1.2.3
*************** PICKED VERSIONS ****************
[versions]
collective.saconnect = 1.3
pas.plugins.sqlalchemy = 0.2
products.ploneboard = 2.2
products.ploneboardsubscription = 0.2
products.zmysqlda = 3.1.1
sqlalchemy = 0.6.6
#Required by:
#collective.saconnect 1.3
plone.app.z3cform = 0.5.3
#Required by:
#collective.saconnect 1.3
rwproperty = 1.0
#Required by:
#pas.plugins.sqlalchemy 0.2
z3c.saconfig = 0.12
#Required by:
#pas.plugins.sqlalchemy 0.2
zope.sqlalchemy = 0.6.1