Hi,
>
> I'm getting the following build error
>
> [plet...@impact tables-2.2b1]$ python setup.py build_ext --inplace
> * Found numpy 1.3.0 package installed.
> Traceback (most recent call last):
> File "setup.py", line 112, in<module>
> from numpy.distutils.misc_util import get_numpy_include_dirs
> ImportError: No module named distutils.misc_util
> [plet...@impact tables-2.2b1]$
>
> I have numpy 1.3:
>
> [plet...@impact tables-2.2b1]$ python
> Python 2.6 (r26:66714, Jun 8 2009, 16:07:29)
> [GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import numpy
> >>> print numpy.__version__
>
> 1.3.0
>
> >>> a = numpy.array([1,2,3,4])
> >>> print a
>
> [1 2 3 4]
Mmh, that's curious because I cannot reproduce the problem using NumPy 1.2,
1.3 and 1.4 (dev7072 from trunk). How have you installed NumPy, from hand, or
from a distribution?
yum install numpy on fedora 64. To be sure, I removed numpy...
[plet...@impact ~]$ python
Python 2.6 (r26:66714, Jun 8 2009, 16:07:29)
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
ImportError: No module named numpy
re-installed....
[plet...@impact ~]$ sudo yum install numpy.x86_64
Loaded plugins: fastestmirror, presto, refresh-packagekit
...
===================================================================================================================================================
Package Arch Version
Repository Size
===================================================================================================================================================
Installing:
numpy x86_64 1.3.0-5.fc11
updates 2.0 M
Transaction Summary
===================================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
...
Installed:
numpy.x86_64 0:1.3.0-5.fc11
Complete!
No distutils under numpy:
[plet...@impact ~]$ python
Python 2.6 (r26:66714, Jun 8 2009, 16:07:29)
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import numpy
from numpy.distutils.misc_util import get_numpy_include_dirs
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
ImportError: No module named distutils.misc_util
import numpy.distutils
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
ImportError: No module named distutils
from numpy import distutils
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
ImportError: cannot import name distutils
Thanks for your help.
--Alex
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users