Cannot install ?

12 views
Skip to first unread message

magix

unread,
Sep 4, 2008, 1:26:15 PM9/4/08
to Python Google Chart
Hello,

Sorry I'm an absolute begginner but installation seems to fail :

# tar xzf pygooglechart-0.2.1.tar.gz
# cd pygooglechart-0.2.1/
# python setup.py install
Traceback (most recent call last):
File "setup.py", line 1, in ?
from distutils.core import setup
ImportError: No module named distutils.core

Thanks a lot in advance for any help !

Denis

张张钦

unread,
Sep 4, 2008, 10:56:38 PM9/4/08
to pygoog...@googlegroups.com
Hello guy

Maybe you should install distutils.core  module first.


Thanks
Wade

Denis BUCHER

unread,
Sep 5, 2008, 11:42:08 AM9/5/08
to pygoog...@googlegroups.com
Hello,

Thanks a lot for your help but how should I install distutils.core ?

I'm sorry but as said I'm an absolute begginner with python software...

# which python
/usr/bin/python

# ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 Apr 11 12:16 /usr/bin/python -> python2.4

# uname -a
Linux hostname 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC 2007 i686 i686 i386 GNU/Linux

Denis

张张钦 a écrit :
Denis Bucher

-- 

Denis Bucher   Horus Digital Solutions sàrl  Each problem has a solution
___________________________________________________________________________
   Tél. +41-22-8000625     Fax: +41-22-8000622      www.hsolutions.ch 

Denis Bucher

-- 

Denis Bucher   Horus Digital Solutions sàrl  Each problem has a solution
___________________________________________________________________________
   Tél. +41-22-8000625     Fax: +41-22-8000622      www.hsolutions.ch 

Gerald Kaszuba

unread,
Sep 5, 2008, 8:36:02 PM9/5/08
to Python Google Chart
Hello Denis.

On Sep 6, 1:42 am, Denis BUCHER <dbuche...@hsolutions.ch> wrote:
> Thanks a lot for your help but how should I install distutils.core ?

Looking through a few posts on the net it looks like some Linux
distributions need the development version of Python installed for
distutils.

Use your package manager to install python-dev or a similar package.

If this doesn't help, please tell me your Linux distribution and how
you installed Python.

Gerald
Reply all
Reply to author
Forward
0 new messages