TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Martin Koekenberg martin at koekenberg.net
Wed Aug 25 16:32:28 EDT 2004


Hello Steve,

That is not the problem.
gcc-3.3.3-7 and gcc-c++-3.3.3-7 are installed.

Greetings,

Martin Koekenberg
On Fri, 20 Aug 2004 14:12:50 +0530, Steve <lonetwin at gmail.com> wrote:

>Hi Martin,
>>   File "/usr/local/lib/python2.3/distutils/sysconfig.py", line 159, in
>> customize_compiler
>>     cpp = cc + " -E"           # not always
>> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>> make: *** [build] Error 1
>
>Judging by the error I'm guessing that you might not have a c or c++
>compiler installed. Run the following command to check if you have the
>required rpms:
>
>rpm -q gcc
>rpm -q gcc-c++
>
>Install them if you they are missing and then rerun 'configure' and 'make'.
>
>HTH
>Steve




More information about the Python-list mailing list