[Zope] ImportError: No module named cPersistence

Michael Long mlong at datalong.com
Thu Jan 29 20:16:19 EST 2004


>> > Sounds like you need to recompile your C extensions. This is easily
>> > done from your SOFTWARE_HOME directory:
>> >
>> > % python setup.py build_ext -if
>>
>> This worked perfectly, I actually ran it from the ZOPE_HOME.
>>
> [..]
>> ImportError: No module named _mysql
>
> Looks like you need to install mysql-python, which ZMySQLDA depends on.
> This gets installed into your python site-packages by default. Download
> it and do:
>
> python setup.py install

Thank you all for the help. I have much joy now.

Cheers,
Mike



More information about the Zope mailing list