Canopy

57 views
Skip to first unread message

Eric Leroy

unread,
May 24, 2013, 1:48:31 AM5/24/13
to hypersp...@googlegroups.com
Hi,
I saw that Enthough has now two python distributions : EPD and Canopy. Do you know the difference between then and does hyperspy run with canopy? My question is essentially for the mac platform since until now with EPD we are restricted to the 32bits version and it seems that canopy 64bits is OK in the mac version.

Regards

Eric

Francisco de la Peña

unread,
May 24, 2013, 5:31:16 AM5/24/13
to hypersp...@googlegroups.com
Hi Eric,

Canopy is the new version of EPD. I tested it in Windows machines last
week and it worked fine, except for an annoying bug in the WX package.
A similar bug was already present in the latests EPD release, but only
in the Windows version. I do not have a machine with MacOS 64-bits so
I cannot tell anything for sure, but most likely it will work fine. If
you test it and it does not work, please let us know so that we can
look for a solution and post it in the website.

Because of the recurring bugs in EPD for Windows (many users have been
unable to use Hyperspy in Windows since several months due to them)
the next Hyperspy release will not require the installation of any
extra package. We're currently testing the new packaging and, as it
seems to work fine, we're going to release it soon (in a matter of
days). It would be nice to do the same for MacOS, but currently none
of the developers use Mac to my knowledge, so, unless someone else
volunteers to do it, it won't happen any time soon.

Best wishes,

Francisco

2013/5/24 Eric Leroy <ricou...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "hyperspy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hyperspy-user...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Eric Leroy

unread,
May 28, 2013, 1:53:10 AM5/28/13
to hypersp...@googlegroups.com
Hi,

I installed canopy 64bits and hyperspy 0.6 hangs at startup. On the first launch I have the prompt but I am not able to type any command. It seems that python is frozen. The only thing I can do is to type Ctrl Z to exit. With EPD hyperspy works fine.

Eric

Francisco de la Peña

unread,
May 28, 2013, 2:37:33 AM5/28/13
to hypersp...@googlegroups.com
Hi Eric,

Thank you for the info. Does standard ipython in pylab mode using the
WX backend works? You can test it executing the following in the
terminal:

$ ipython --pylab=wx

If it does, could you try to import hyperspy manually from ipython
with the following command?

>>> from hyperspy.hspy import *

Thanks!

Best,

Francisco


2013/5/28 Eric Leroy <ricou...@gmail.com>:

Eric Leroy

unread,
May 29, 2013, 9:32:57 AM5/29/13
to hypersp...@googlegroups.com
Hi,

No it doesn't work with pylab mode using the wx backend.

Best,

Eric

Francisco de la Peña

unread,
May 29, 2013, 9:54:40 AM5/29/13
to hypersp...@googlegroups.com
Thanks! In that case it is an EPD bug that might be worth reporting to
them directly.

Do you think that we could rely on MacPorts or similar to run Hyperspy in MacOS?

Probably between today and tomorrow I'll update the website to release
Hyperspy 0.6, and I'll advice Mac users against Canopy 1.0 . If you
find any more reliable and up-to-day way to install Hyperspy than
sticking to EPD 7.3.2 please let me know.

Thanks again!

Francisco

2013/5/29 Eric Leroy <ricou...@gmail.com>:

Eric Leroy

unread,
May 29, 2013, 10:05:51 AM5/29/13
to hypersp...@googlegroups.com
OK I will do it. With EPD 7.3.2 and the latest update made with enpkg --update-all, hyperspy works. For Macports I don't know this is what I told you before. I can try to install hyperspy with Macports python.
Regards,
Eric

Francisco de la Peña

unread,
May 29, 2013, 10:09:13 AM5/29/13
to hypersp...@googlegroups.com
Thanks again! I'll update the website with the information that you
have provided.

Eric Leroy

unread,
May 30, 2013, 5:09:47 AM5/30/13
to hypersp...@googlegroups.com
I had an answer from Entought :

As stated in the above article: on Canopy-64 on OSX, wxPython 2.8 does not exist, and wxPython 2.9 is bleeding edge experimental.

Use Canopy-32 or use Qt (PySide) instead of wx.

Eric

Francisco de la Peña

unread,
May 30, 2013, 8:28:48 AM5/30/13
to hypersp...@googlegroups.com
Thank you Eric. At least the future looks promising for MacOS users
but, for the present, we'll have to advice MacOS Hyperspy users to
stick to the 32bits version. Another solution worth exploring is
switching to Qt what should be pretty straightforward and is probably
a good idea for other reasons.

Francisco

2013/5/30 Eric Leroy <ricou...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages