[Zope] MySQL-python build error
Tom Jenkins
tjenkins@devis.com
29 Nov 2001 16:42:42 -0500
On Thu, 2001-11-29 at 16:19, Raymond Norton wrote:
> I am new to Zope and Linux, so I am not sure what to do about this error.
>
> >python setup.py build
>
> Traceback (innermost last):
>
> File "setup.py", line 6, in ?
>
> from distutils.core import setup
>
> ImportError: No module named distutils.core
>
> My Zope book also said I would have to edit setup.py to be sure the paths to
> the include and library directories in MySQL installation were correct. I
> did not see anything that referenced the paths above the line that said "Do
> not change anything below this line"
>
> In case it helps I have the following:
>
> RedHat 7.1
> mysql 3.23.36
> Database adapter ZMySQL-2.0.8
> Database driver MySQL-python-0.9.0
>
python 2.x has distutils installed by default.
python 1.5 does not; you have to go to http://www.python.org and get the
distutils package
if you run python directly, i bet it will load python1.5
--
Tom Jenkins
Development InfoStructure
http://www.devis.com