16 Jul 12:05
Same Error Again. ImportError: dynamic module does not define init function (init_core_)
From: David Arnold <dwarnold45@...>
Subject: Same Error Again. ImportError: dynamic module does not define init function (init_core_)
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-07-16 10:06:56 GMT
Subject: Same Error Again. ImportError: dynamic module does not define init function (init_core_)
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-07-16 10:06:56 GMT
Hi,
Just downloaded and installed the enthought beta for the mac os x (ppc) from:
I am running Mac OS X 10.4.11 ppc.
This file:
from scipy import arange, pi, sin
numpoints=100
step=4*pi/numpoints
x=arange(-2*pi,2*pi+step/2,step)
y=sin(x)
from enthought import chaco2
myplot=chaco2.create_line_plot((x,y),bgcolor="white", add_grid=True, add_axis=True)
myplot.padding=50
myplot.bounds=[400,400]
plot_gc=chaco2.plot_graphics_context(myplot.outer_bounds)
plot_gc.render_component(myplot)
plot_gc.save("tutorial1.png")
Produces a similar error to my first post:
GettingStarted $ python tutorial1.py
Traceback (most recent call last):
File "tutorial1.py", line 1, in <module>
from scipy import arange, pi, sin
File "/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/scipy-0.6.0.0006-py2.5-macosx-10.3-fat.egg/scipy/__init__.py", line 25, in <module>
from numpy import show_config as show_numpy_config
File "/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/numpy-1.0.4.0004-py2.5-macosx-10.3-fat.egg/numpy/__init__.py", line 39, in <module>
import core
File "/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/python2.5/site-packages/numpy-1.0.4.0004-py2.5-macosx-10.3-fat.egg/numpy/core/__init__.py", line 5, in <module>
import multiarray
ImportError: dynamic module does not define init function (initmultiarray)
What is going on?
David.
_______________________________________________ Enthought-dev mailing list Enthought-dev@... https://mail.enthought.com/mailman/listinfo/enthought-dev
Student use of EPD is exactly the kind of thing that is (and will remain) absolutely free. We very much want all degree-granting programs to be able to use our distribution without restriction. Let me know if anything in the license is unclear, or if you have further questions.
RSS Feed