[Numpy-discussion] Error importing numpy in cygwin

David Cournapeau cournape at gmail.com
Tue Apr 12 03:17:10 EDT 2011


On Tue, Apr 12, 2011 at 10:25 AM, Gabriella Turek <g.turek at niwa.co.nz> wrote:
>
> Hello I'm working with cygwin 1.7.9. I've installed python 2.6 from the cygwin distro. I've also installed nympy from the distro (v. 1.4.1), and when that failed, I tried to installed directly form source (v. 1.5.1)
> In both cases when I try to run a script that imports numpy (including running the numpy tests) I get the following
> error message:

It seems ctypes import fails. Are you sure that your python is
correctly installed ? What does the following does:

python -c "import ctypes"

If that does not work, the problem is how python was installed, not with numpy.

cheers,

David



More information about the NumPy-Discussion mailing list