From: Noel O'B. <bao...@gm...> - 2007-11-28 17:50:56
|
On 28/11/2007, Jean-Didier Mar=E9chal <jea...@ua...> wrote: > Hello, > > I have been stuck with the installation of cclib on unbuntu 7.10 for few > days now, and I wonder what I am doing wrong. Initially, I had problems > with python and in particular with the numeric module. Being solved > this, I am stuck once again. > > Basically, when I run the - python setup.py build - command, I > systematically receive the following answer: > > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "setup.py", line 56, in ? > setup_cclib() > File "setup.py", line 29, in setup_cclib > from distutils.core import setup > ImportError: No module named distutils.core Very strange. If you installed Python using your package manager, then there would be no problem finding "distutils.core" which a central part of the Python installation on Ubuntu 7.10. As you can see from the following search for "core.py", it's included in the "python2.4" package: http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=3Dcore.py&search= mode=3Dsearchfiles&case=3Dinsensitive&version=3Dgutsy&arch=3Di386 You should not have had any problems with numeric either. We have switched to numpy, which is available in the Ubuntu distribution also. Hope this helps. Our installation instructions are at the following address= : http://cclib.sourceforge.net/wiki/index.php/Install Noel > What do I miss? > > Cheers > JD > > > -- > Dr. Jean-Didier Mar=E9chal > Assistant Professor > Computational Bioorganic and Bioinorganic Chemistry @Transmet > Unitat de Qu=EDmica F=EDsica > Departament de Qu=EDmica > Universitat Aut=F2noma de Barcelona > 08193 Bellaterra, Spain > Tel: +34.(0)1935814936 > Fax: +34.(0)1935812920 > e-mail:jea...@ua... > > > |