David Arnold | 16 Jul 12:05

Same Error Again. ImportError: dynamic module does not define init function (init_core_)

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
Dave Peterson | 16 Jul 18:06

Re: Same Error Again. ImportError: dynamic module does not define init function (init_core_)

Hi David,

Sorry you're having problems with your install of EPD!

Soon after our beta 1 release we noticed problems with the PPC binaries that have since been solved and should be fixed with a new beta 2 release scheduled for late today or early tomorrow.  Unfortunately, there is no recommended immediate workaround.   The EPD README file in the root of the .dmg does contain instructions on removing EPD if you can't wait for the updated release, but if you have Python 2.5 installed, you can just temporarily switch over to it by modifying the 'Current' symbolic link in:
    /Library/Frameworks/Python.framework/Versions
such that it points at "2.5" instead of the EPD's "2.5.2001".


BTW, it would help us greatly if you could please us the EPD trac site to report future problems:
    https://svn.enthought.com/epd
You can register using the 'register' link at the top right and then you should be able to create tickets and comment on them.


-- Dave


David Arnold wrote:
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-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8@public.gmane.org https://mail.enthought.com/mailman/listinfo/enthought-dev
_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
David Arnold | 16 Jul 18:55

Re: Same Error Again. ImportError: dynamic module does not define init function (init_core_)

David,

Will do. Thanks.

D.

On Jul 16, 2008, at 9:06 AM, Dave Peterson wrote:

Hi David,

Sorry you're having problems with your install of EPD!

Soon after our beta 1 release we noticed problems with the PPC binaries that have since been solved and should be fixed with a new beta 2 release scheduled for late today or early tomorrow.  Unfortunately, there is no recommended immediate workaround.   The EPD README file in the root of the .dmg does contain instructions on removing EPD if you can't wait for the updated release, but if you have Python 2.5 installed, you can just temporarily switch over to it by modifying the 'Current' symbolic link in:
    /Library/Frameworks/Python.framework/Versions
such that it points at "2.5" instead of the EPD's "2.5.2001".


BTW, it would help us greatly if you could please us the EPD trac site to report future problems:
    https://svn.enthought.com/epd
You can register using the 'register' link at the top right and then you should be able to create tickets and comment on them.


-- Dave


David Arnold wrote:
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-oRDGkvazHdYEziLoY9s12A@public.gmane.orgght.com https://mail.enthought.com/mailman/listinfo/enthought-dev
_______________________________________________
Enthought-dev mailing list

_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
David Arnold | 17 Jul 06:49

Re: Same Error Again. ImportError: dynamic module does not define init function (init_core_)

Dave,

I note on:


That it now says:  [Currently for Intel Only]

Yet this email mentions PPC, which is not intel. Do I have this correct, that a binary for the PPC will be available as well?

D.


On Jul 16, 2008, at 9:06 AM, Dave Peterson wrote:

Hi David,

Sorry you're having problems with your install of EPD!

Soon after our beta 1 release we noticed problems with the PPC binaries that have since been solved and should be fixed with a new beta 2 release scheduled for late today or early tomorrow.  Unfortunately, there is no recommended immediate workaround.   The EPD README file in the root of the .dmg does contain instructions on removing EPD if you can't wait for the updated release, but if you have Python 2.5 installed, you can just temporarily switch over to it by modifying the 'Current' symbolic link in:
    /Library/Frameworks/Python.framework/Versions
such that it points at "2.5" instead of the EPD's "2.5.2001".


BTW, it would help us greatly if you could please us the EPD trac site to report future problems:
    https://svn.enthought.com/epd
You can register using the 'register' link at the top right and then you should be able to create tickets and comment on them.


-- Dave


David Arnold wrote:
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-oRDGkvazHdYEziLoY9s12A@public.gmane.orgght.com https://mail.enthought.com/mailman/listinfo/enthought-dev
_______________________________________________
Enthought-dev mailing list

_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Dave Peterson | 17 Jul 16:58

Re: Same Error Again. ImportError: dynamic module does not define init function (init_core_)

Hi D.

Yes, Beta 2 will support PPC.   That note was added to try to save new people browsing the site the pain of downloading it and finding out it didn't work on PPC yet due to bugs.   We really should have added that note earlier btw.

-- Dave


David Arnold wrote:
Dave,

I note on:


That it now says:  [Currently for Intel Only]

Yet this email mentions PPC, which is not intel. Do I have this correct, that a binary for the PPC will be available as well?

D.


On Jul 16, 2008, at 9:06 AM, Dave Peterson wrote:

Hi David,

Sorry you're having problems with your install of EPD!

Soon after our beta 1 release we noticed problems with the PPC binaries that have since been solved and should be fixed with a new beta 2 release scheduled for late today or early tomorrow.  Unfortunately, there is no recommended immediate workaround.   The EPD README file in the root of the .dmg does contain instructions on removing EPD if you can't wait for the updated release, but if you have Python 2.5 installed, you can just temporarily switch over to it by modifying the 'Current' symbolic link in:
    /Library/Frameworks/Python.framework/Versions
such that it points at "2.5" instead of the EPD's "2.5.2001".


BTW, it would help us greatly if you could please us the EPD trac site to report future problems:
    https://svn.enthought.com/epd
You can register using the 'register' link at the top right and then you should be able to create tickets and comment on them.


-- Dave


David Arnold wrote:
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-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8@public.gmane.org https://mail.enthought.com/mailman/listinfo/enthought-dev
_______________________________________________
Enthought-dev mailing list

_______________________________________________ Enthought-dev mailing list Enthought-dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8@public.gmane.org https://mail.enthought.com/mailman/listinfo/enthought-dev
_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
David Arnold | 17 Jul 17:34

Student use

David,

I really appreciate this effort. I am relatively new to Python, but I  
am impressed with its application to mathematics and science. I am  
looking at python as a viable alternative to Matlab in my mathematics  
classes.

However, my experience in installing Python, numpy, scipy, and  
Matplotlib has been somewhat difficult. I've managed to get them  
installed by carefully following instructions such as those on:

http://scipy.org/Installing_SciPy/Mac_OS_X

However, as an experienced teacher, I know that my students would  
have great difficulty with this type of installation. So, I keep  
looking for a solution that will ease the installation on the variety  
of platforms used by my students, particularly windows xp and vista,  
mac os x, both ppc and intel, tiger and leopard. Your work comes  
closest to what my students need.

Thanks.

David.
German Salazar | 20 Jul 04:22

Re: Student use

Do you think you qualify as an Academic kind of user? Because the Enthought Python Distribution comes with everything you mention and more and is easy to install and, from the license, it is free for the Academia...no need to install one package at a time.

Go here:
http://www.enthought.com/products/epddownload.php

I do not work for Enthought, so make sure you read the license yourself.

gsal


On Thu, Jul 17, 2008 at 11:34 AM, David Arnold <dwarnold45-hPWwJ4didUYmnvkBusLcMw@public.gmane.org> wrote:
David,

I really appreciate this effort. I am relatively new to Python, but I
am impressed with its application to mathematics and science. I am
looking at python as a viable alternative to Matlab in my mathematics
classes.

However, my experience in installing Python, numpy, scipy, and
Matplotlib has been somewhat difficult. I've managed to get them
installed by carefully following instructions such as those on:

http://scipy.org/Installing_SciPy/Mac_OS_X

However, as an experienced teacher, I know that my students would
have great difficulty with this type of installation. So, I keep
looking for a solution that will ease the installation on the variety
of platforms used by my students, particularly windows xp and vista,
mac os x, both ppc and intel, tiger and leopard. Your work comes
closest to what my students need.

Thanks.

David.

_______________________________________________
Enthought-dev mailing list
Enthought-dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8@public.gmane.org
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Travis Vaught | 20 Jul 04:32

Re: Student use



On Jul 19, 2008, at 9:22 PM, German Salazar wrote:

Do you think you qualify as an Academic kind of user? Because the Enthought Python Distribution comes with everything you mention and more and is easy to install and, from the license, it is free for the Academia...no need to install one package at a time.

Go here:
http://www.enthought.com/products/epddownload.php

I do not work for Enthought, so make sure you read the license yourself.

gsal


Hey David,

I do work for Enthought and German is exactly right ;-)  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.

(and thanks for the recommendation, German)

Best,

Travis






On Thu, Jul 17, 2008 at 11:34 AM, David Arnold <dwarnold45-hPWwJ4didUYmnvkBusLcMw@public.gmane.org> wrote:
David,

I really appreciate this effort. I am relatively new to Python, but I
am impressed with its application to mathematics and science. I am
looking at python as a viable alternative to Matlab in my mathematics
classes.

However, my experience in installing Python, numpy, scipy, and
Matplotlib has been somewhat difficult. I've managed to get them
installed by carefully following instructions such as those on:

http://scipy.org/Installing_SciPy/Mac_OS_X

However, as an experienced teacher, I know that my students would
have great difficulty with this type of installation. So, I keep
looking for a solution that will ease the installation on the variety
of platforms used by my students, particularly windows xp and vista,
mac os x, both ppc and intel, tiger and leopard. Your work comes
closest to what my students need.

Thanks.

David.

_______________________________________________
Enthought-dev mailing list
Enthought-dev-oRDGkvazHdYEziLoY9s12A@public.gmane.orgght.com
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-dev mailing list
Enthought-dev-oRDGkvazHdYEziLoY9s12A@public.gmane.orgght.com
https://mail.enthought.com/mailman/listinfo/enthought-dev

_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
David Arnold | 20 Jul 05:09

Re: Student use

All, 

Thanks for the encouragement regarding the academic license. That is part of the appeal of the package. 

What really appeals is the potential ease of installation, already a fact for Windows XP. The difficulty is the fact that more students have Vista and there are a goodly number of macs being used by my students, both ppc and intel. So I am really grateful that work is being done to include those platforms in a simple one-click type of installation. Without this ease of installation, most of my students would be lost trying to install.

Thanks for all the hard work.

David.


On Jul 19, 2008, at 7:32 PM, Travis Vaught wrote:



On Jul 19, 2008, at 9:22 PM, German Salazar wrote:

Do you think you qualify as an Academic kind of user? Because the Enthought Python Distribution comes with everything you mention and more and is easy to install and, from the license, it is free for the Academia...no need to install one package at a time.

Go here:
http://www.enthought.com/products/epddownload.php

I do not work for Enthought, so make sure you read the license yourself.

gsal


Hey David,

I do work for Enthought and German is exactly right ;-)  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.

(and thanks for the recommendation, German)

Best,

Travis






On Thu, Jul 17, 2008 at 11:34 AM, David Arnold <dwarnold45-hPWwJ4didUYmnvkBusLcMw@public.gmane.org> wrote:
David,

I really appreciate this effort. I am relatively new to Python, but I
am impressed with its application to mathematics and science. I am
looking at python as a viable alternative to Matlab in my mathematics
classes.

However, my experience in installing Python, numpy, scipy, and
Matplotlib has been somewhat difficult. I've managed to get them
installed by carefully following instructions such as those on:

http://scipy.org/Installing_SciPy/Mac_OS_X

However, as an experienced teacher, I know that my students would
have great difficulty with this type of installation. So, I keep
looking for a solution that will ease the installation on the variety
of platforms used by my students, particularly windows xp and vista,
mac os x, both ppc and intel, tiger and leopard. Your work comes
closest to what my students need.

Thanks.

David.

_______________________________________________
Enthought-dev mailing list
Enthought-dev-oRDGkvazHdYEziLoY9s12A@public.gmane.orgght.com
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-dev mailing list
Enthought-dev-oRDGkvazHdYEziLoY9s12A@public.gmane.orgght.com
https://mail.enthought.com/mailman/listinfo/enthought-dev

_______________________________________________
Enthought-dev mailing list

_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev

Gmane