Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 06-30-2005, 01:51 AM   #1
LQ Newbie
Registered: Jan 2005
Location: Seattle
Distribution: Mandrake 10.1
Posts: 15

Rep: Reputation: 0
python install settings?

i am running Ubuntu Hoary and am trying to build the Python numarray package, v. 1.3.2 by hand since ubuntu's repos won't be updated until breezy.

i have python 2.4, and gcc 3.3.5

after unpacking the tar, i run "python install", as it says in the installation instructions. i get the following:

[colfax 53] numarray-1.3.2 > python install
running install
running build
running build_py
copying Lib/ -> build/lib.linux-i686-2.4/numarray
running build_ext
Traceback (most recent call last):
  File "", line 222, in ?
  File "", line 213, in main
  File "/usr/lib/python2.4/distutils/", line 149, in setup
  File "/usr/lib/python2.4/distutils/", line 946, in run_commands
  File "/usr/lib/python2.4/distutils/", line 966, in run_command
  File "/usr/lib/python2.4/distutils/command/", line 506, in run
  File "/usr/lib/python2.4/distutils/", line 333, in run_command
  File "/usr/lib/python2.4/distutils/", line 966, in run_command
  File "/usr/lib/python2.4/distutils/command/", line 112, in run
  File "/usr/lib/python2.4/distutils/", line 333, in run_command
  File "/usr/lib/python2.4/distutils/", line 966, in run_command
  File "/usr/lib/python2.4/distutils/command/", line 254, in run
  File "/usr/lib/python2.4/distutils/", line 174, in customize_compiler
    cc_cmd = cc + ' ' + opt
TypeError: cannot concatenate 'str' and 'NoneType' objects

I had a similiar (but different) error earlier, but then I learned I had to set my "CC" environment variable. So I set that to "gcc".

Any ideas on this new error? Are there packages/settings I need to take care of before i can use Python's distutils?

Old 06-30-2005, 01:47 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
install python master Linux - Software 0 11-20-2005 10:31 AM
python install settings? jtan325 Linux - Software 1 07-01-2005 10:04 AM
install python 2.3 ,necssary to remove python 2.2 ngan_yine Linux - Newbie 7 12-28-2003 04:07 PM
python 2.3 rpm install nekid Linux - Software 3 10-23-2003 07:27 PM
Python install ixion Linux From Scratch 1 04-16-2003 10:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration