From: Matthew T. <mm...@cs...> - 2006-08-16 01:34:21
|
Hey. I'm trying to get numpy up and running on SuSE 10.1 and not having much luck. I've been working with 1.0b2 and can get it to install without any errors, but can't do anything with it. I run a local install of python 2.4.3 just to keep out of whatever weirdness gets installed on my machine by our sysadmins. Pretty standard fare, untar the ball, and './setup.py install --prefix=$HOME/local' It will complete that without issue, but when I try to run the test, I get: Python 2.4.3 (#1, Aug 15 2006, 18:09:56) [GCC 4.1.0 (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.test(1) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ __init__.py", line 77, in test return NumpyTest().test(level, verbosity) File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/testing/ numpytest.py", line 285, in __init__ from numpy.distutils.misc_util import get_frame File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/__init__.py", line 5, in ? import ccompiler File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/ccompiler.py", line 6, in ? from distutils.ccompiler import * File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/__init__.py", line 5, in ? import ccompiler File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/ccompiler.py", line 7, in ? from distutils import ccompiler ImportError: cannot import name ccompiler Any thoughts? Thanks Matt [ matthew m trentacoste mm...@cs... ] [ ] [ graduate student lead software developer ] [ university of british columbia brightside technologies ] [ http://www.cs.ubc.ca/~mmt http://brightsidetech.com ] [ +1 (604) 827-3979 +1 (604) 228-4624 ] |
From: Matthew T. <mm...@cs...> - 2006-08-16 02:51:34
|
Hey. I'm trying to get numpy up and running on SuSE 10.1 and not having much luck. I've been working with 1.0b2 and can get it to install without any errors, but can't do anything with it. I run a local install of python 2.4.3 just to keep out of whatever weirdness gets installed on my machine by our sysadmins. Pretty standard fare, untar the ball, and './setup.py install --prefix=$HOME/local' It will complete that without issue, but when I try to run the test, I get: Python 2.4.3 (#1, Aug 15 2006, 18:09:56) [GCC 4.1.0 (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.test(1) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ __init__.py", line 77, in test return NumpyTest().test(level, verbosity) File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/testing/ numpytest.py", line 285, in __init__ from numpy.distutils.misc_util import get_frame File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/__init__.py", line 5, in ? import ccompiler File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/ccompiler.py", line 6, in ? from distutils.ccompiler import * File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/__init__.py", line 5, in ? import ccompiler File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/ccompiler.py", line 7, in ? from distutils import ccompiler ImportError: cannot import name ccompiler Once installed, it messes up trying to install anything else, so I have to move it out of the way in the short term. Any thoughts? Thanks Matt [ matthew m trentacoste mm...@cs... ] [ ] [ graduate student lead software developer ] [ university of british columbia brightside technologies ] [ http://www.cs.ubc.ca/~mmt http://brightsidetech.com ] [ +1 (604) 827-3979 +1 (604) 228-4624 ] |
From: Matthew T. <mm...@cs...> - 2006-08-16 03:19:57
|
Hey. I'm trying to get numpy up and running on SuSE 10.1 and not having much luck. I've been working with 1.0b2 and can get it to install without any errors, but can't do anything with it. I run a local install of python 2.4.3 just to keep out of whatever weirdness gets installed on my machine by our sysadmins. Pretty standard fare, untar the ball, and './setup.py install --prefix=$HOME/local' It will complete that without issue, but when I try to run the test, I get: Python 2.4.3 (#1, Aug 15 2006, 18:09:56) [GCC 4.1.0 (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> numpy.test(1) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ __init__.py", line 77, in test return NumpyTest().test(level, verbosity) File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/testing/ numpytest.py", line 285, in __init__ from numpy.distutils.misc_util import get_frame File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/__init__.py", line 5, in ? import ccompiler File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/ccompiler.py", line 6, in ? from distutils.ccompiler import * File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/__init__.py", line 5, in ? import ccompiler File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ distutils/ccompiler.py", line 7, in ? from distutils import ccompiler ImportError: cannot import name ccompiler Once installed, it messes up trying to install anything else, so I have to move it out of the way in the short term. Any thoughts? Thanks Matt [ matthew m trentacoste mm...@cs... ] [ ] [ graduate student lead software developer ] [ university of british columbia brightside technologies ] [ http://www.cs.ubc.ca/~mmt http://brightsidetech.com ] [ +1 (604) 827-3979 +1 (604) 228-4624 ] |
From: Travis O. <oli...@ie...> - 2006-08-16 04:18:20
|
Matthew Trentacoste wrote: > Hey. I'm trying to get numpy up and running on SuSE 10.1 and not > having much luck. > > I've been working with 1.0b2 and can get it to install without any > errors, but can't do anything with it. I run a local install of > python 2.4.3 just to keep out of whatever weirdness gets installed on > my machine by our sysadmins. Pretty standard fare, untar the ball, > and './setup.py install --prefix=$HOME/local' > Do you need to specify --prefix if you've already got Python installed somewhere? Are you missing it. |
From: Travis O. <oli...@ie...> - 2006-08-16 04:19:43
|
Matthew Trentacoste wrote: > Hey. I'm trying to get numpy up and running on SuSE 10.1 and not > having much luck. > > I've been working with 1.0b2 and can get it to install without any > errors, but can't do anything with it. I run a local install of > python 2.4.3 just to keep out of whatever weirdness gets installed on > my machine by our sysadmins. Pretty standard fare, untar the ball, > and './setup.py install --prefix=$HOME/local' > > It will complete that without issue, but when I try to run the test, > I get: > > Python 2.4.3 (#1, Aug 15 2006, 18:09:56) > [GCC 4.1.0 (SUSE Linux)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import numpy > >>> numpy.test(1) > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > __init__.py", line 77, in test > return NumpyTest().test(level, verbosity) > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/testing/ > numpytest.py", line 285, in __init__ > from numpy.distutils.misc_util import get_frame > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > distutils/__init__.py", line 5, in ? > import ccompiler > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > distutils/ccompiler.py", line 6, in ? > from distutils.ccompiler import * > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > distutils/__init__.py", line 5, in ? > import ccompiler > File "/home/m/mmt/local/lib/python2.4/site-packages/numpy/ > distutils/ccompiler.py", line 7, in ? > from distutils import ccompiler > ImportError: cannot import name ccompiler > > This seems to be a path issue. Can you give us import sys print sys.path() -Travis |