Hi, ALL,
Where do I get those modules?
I'm looking to run the PyPlot demo on both Mac and Windows and it gives an error
that those modules are not found.
Thank you.
Hi, ALL,
Where do I get those modules?
I'm looking to run the PyPlot demo on both Mac and Windows and it gives an error
that those modules are not found.
Thank you.
Numeric and numarray are predecessors to the current numpy package.
This docs must be pretty old – sorry! But numpy should work fine.
-Chris
On Sat, May 30, 2015 at 12:15 PM, Igor Korot ikorot01@gmail.com wrote:
Hi, ALL,
Where do I get those modules?
I’m looking to run the PyPlot demo on both Mac and Windows and it gives an error
that those modules are not found.
Thank you.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
–
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Hi, Chris,
Numeric and numarray are predecessors to the current numpy package.
This docs must be pretty old -- sorry! But numpy should work fine.
www.numpy.org
I installed numpy this morning and after coming back from work I tried
PyPlot demo again.
I got the same panel telling me that I need Numeric or numarray package.
This is from the wxPython-3.0.0 (latest available) demo package on OSX 10.6 SL.
Is it a bug in the demo?
Thank you.
On Mon, Jun 1, 2015 at 2:12 AM, Chris Barker <chris.barker@noaa.gov> wrote:
-Chris
On Sat, May 30, 2015 at 12:15 PM, Igor Korot <ikorot01@gmail.com> wrote:
Hi, ALL,
Where do I get those modules?
I'm looking to run the PyPlot demo on both Mac and Windows and it gives an
error
that those modules are not found.Thank you.
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Christopher Barker, Ph.D.
OceanographerEmergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main receptionChris.Barker@noaa.gov
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Perhaps. I'm running Python-2.7.5, wxPython-3.0.2.0, and numpy-1.9.1 on
Slackware-14.1.
PyPlot.py is in the demo sub-directory, and throws python errors when I
try running it from the command line. The trace of the error source ended up
here:
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_gdi.py", line 1510,
in __init__
_gdi_.Cursor_swiginit(self,_gdi_.new_Cursor(*args, **kwargs))
TypeError: Required argument 'type' (pos 2) not found
However, I have seen such errors thrown when trying to run other demos frm
the command line yet the demo runs properly when selected from a menu when
Main.py is running. Unfortunately, I did not find PyPlot on any of the menus
in my quick look and it does not appear in Main.py.
Rich
On Tue, 2 Jun 2015, Igor Korot wrote:
I installed numpy this morning and after coming back from work I tried
PyPlot demo again.I got the same panel telling me that I need Numeric or numarray package.
This is from the wxPython-3.0.0 (latest available) demo package on OSX 10.6 SL.
Is it a bug in the demo?
This one and at least an another one was fixed by Robin in March, so probably not in 3.0.2.
See the thread "Crash on pyplot demo"
Werner
On 6/2/2015 14:59, Rich Shepard wrote:
On Tue, 2 Jun 2015, Igor Korot wrote:
I installed numpy this morning and after coming back from work I tried
PyPlot demo again.I got the same panel telling me that I need Numeric or numarray package.
This is from the wxPython-3.0.0 (latest available) demo package on OSX 10.6 SL.
Is it a bug in the demo?
Perhaps. I'm running Python-2.7.5, wxPython-3.0.2.0, and numpy-1.9.1 on
Slackware-14.1.PyPlot.py is in the demo sub-directory, and throws python errors when I
try running it from the command line. The trace of the error source ended up
here:File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_gdi.py", line 1510,
in __init__
_gdi_.Cursor_swiginit(self,_gdi_.new_Cursor(*args, **kwargs))
TypeError: Required argument 'type' (pos 2) not found
Werner,
Thanks for the information.
My copies of the demo files were installed 2013-12-28; I'll bet there's a
newer version to which I should upgrade.
Regards,
Rich
On Tue, 2 Jun 2015, Werner wrote:
This one and at least an another one was fixed by Robin in March, so
probably not in 3.0.2.
Werner,
I installed numpy this morning and after coming back from work I tried
PyPlot demo again.I got the same panel telling me that I need Numeric or numarray package.
This is from the wxPython-3.0.0 (latest available) demo package on OSX
10.6 SL.Is it a bug in the demo?
Perhaps. I'm running Python-2.7.5, wxPython-3.0.2.0, and numpy-1.9.1 on
Slackware-14.1.PyPlot.py is in the demo sub-directory, and throws python errors when I
try running it from the command line. The trace of the error source ended
up
here:File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_gdi.py", line
1510,
in __init__
_gdi_.Cursor_swiginit(self,_gdi_.new_Cursor(*args, **kwargs))
TypeError: Required argument 'type' (pos 2) not foundThis one and at least an another one was fixed by Robin in March, so
probably not in 3.0.2.See the thread "Crash on pyplot demo"
Is it for the crash only or his fix is for my problem as well?
Or its one problem altogether?
Thank you.
On Tue, Jun 2, 2015 at 10:52 AM, Werner <wernerfbd@gmx.ch> wrote:
On 6/2/2015 14:59, Rich Shepard wrote:
On Tue, 2 Jun 2015, Igor Korot wrote:
Werner
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
...
Is it for the crash only or his fix is for my problem as well?
Or its one problem altogether?
I think only for the crash.
Your problem is that it does not find numpy. Did you install it into the same Python version as you use for wxPython?
Werner
On 6/2/2015 16:58, Igor Korot wrote:
Werner,
Hi,
...
Is it for the crash only or his fix is for my problem as well?
Or its one problem altogether?I think only for the crash.
Your problem is that it does not find numpy. Did you install it into the
same Python version as you use for wxPython?
Yes.
Just in case - how do I verify it?
Thank you.
On Tue, Jun 2, 2015 at 11:39 AM, Werner <wernerfbd@gmx.ch> wrote:
On 6/2/2015 16:58, Igor Korot wrote:
Werner
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
import numpy
numpy.__version__
'1.6.1'
Werner
On 6/7/2015 21:31, Igor Korot wrote:
Werner,
On Tue, Jun 2, 2015 at 11:39 AM, Werner <wernerfbd@gmx.ch> wrote:
Hi,
On 6/2/2015 16:58, Igor Korot wrote:
...Is it for the crash only or his fix is for my problem as well?
Or its one problem altogether?I think only for the crash.
Your problem is that it does not find numpy. Did you install it into the
same Python version as you use for wxPython?Yes.
Just in case - how do I verify it?
Werner,
Werner,
Hi,
...
Is it for the crash only or his fix is for my problem as well?
Or its one problem altogether?I think only for the crash.
Your problem is that it does not find numpy. Did you install it into the
same Python version as you use for wxPython?Yes.
Just in case - how do I verify it?
import numpy
numpy.__version__
'1.6.1'
Alena-Korots-MacBook:listctrl AlenaKorot$ python
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import numpy
numpy.__version__
'1.9.2'
Nevertheless, I'm getting that error on running pyplot demo.
Thank you.
On Mon, Jun 8, 2015 at 2:39 AM, Werner <wernerfbd@gmx.ch> wrote:
On 6/7/2015 21:31, Igor Korot wrote:
On Tue, Jun 2, 2015 at 11:39 AM, Werner <wernerfbd@gmx.ch> wrote:
On 6/2/2015 16:58, Igor Korot wrote:
Werner
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
Werner,
...
Alena-Korots-MacBook:listctrl AlenaKorot$ python
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.import numpy
numpy.__version__'1.9.2'
Nevertheless, I'm getting that error on running pyplot demo.
What do you get when you do:
import wx
wx.VERSION_STRING
and:
import wx.lib.plot
Werner
On 6/8/2015 14:04, Igor Korot wrote:
Werner,
Hi,
Werner,
...
Alena-Korots-MacBook:listctrl AlenaKorot$ python
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.import numpy
numpy.__version__'1.9.2'
Nevertheless, I'm getting that error on running pyplot demo.
What do you get when you do:
import wx
wx.VERSION_STRINGand:
import wx.lib.plot
Here is the output:
Alena-Korots-MacBook:listctrl AlenaKorot$ python
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import wx
wx.VERSION_STRING
'3.0.0.0'
import wx.lib.plot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/wxPython-3.0.0.0/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/lib/plot.py",
line 126, in <module>
raise ImportError, "NumPy not found.\n" + msg
ImportError: NumPy not found.
This module requires the NumPy module, which could not be
imported. It probably is not installed (it's not part of the
standard Python distribution). See the Numeric Python site
(http://numpy.scipy.org) for information on downloading source or
binaries.
Does this mean I got an error compiling?
Thank you.
On Mon, Jun 8, 2015 at 8:26 AM, Werner <wernerfbd@gmx.ch> wrote:
On 6/8/2015 14:04, Igor Korot wrote:
Werner
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I don't know, wx.lib.plot just does "import numpy as np" and if that throws an error you see the message above, I don't understand how you can import numpy manually without problem but wx.lib.plot gets an error when it does the same.
Do you have some other files/folders called numpy on your search path?
Werner
On 6/9/2015 1:28, Igor Korot wrote:
Werner,
On Mon, Jun 8, 2015 at 8:26 AM, Werner <wernerfbd@gmx.ch> wrote:
Hi,
On 6/8/2015 14:04, Igor Korot wrote:
Werner,
...
Alena-Korots-MacBook:listctrl AlenaKorot$ python
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.import numpy
numpy.__version__'1.9.2'
Nevertheless, I'm getting that error on running pyplot demo.
What do you get when you do:
import wx
wx.VERSION_STRINGand:
import wx.lib.plotHere is the output:
Alena-Korots-MacBook:listctrl AlenaKorot$ python
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.import wx
wx.VERSION_STRING'3.0.0.0'
import wx.lib.plot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/wxPython-3.0.0.0/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/lib/plot.py",
line 126, in <module>
raise ImportError, "NumPy not found.\n" + msg
ImportError: NumPy not found.This module requires the NumPy module, which could not be
imported. It probably is not installed (it's not part of the
standard Python distribution). See the Numeric Python site
(http://numpy.scipy.org) for information on downloading source or
binaries.Does this mean I got an error compiling?
Thank you.
One thing to check-- there are way too many ways to run python on OS-X.
I suspect you installed numpy into one pyton, and are running wx with another…
can you really do “import numpy” from the same interpreter you ran that with?
-Chris
On Mon, Jun 8, 2015 at 11:58 PM, Werner wernerfbd@gmx.ch wrote:
On 6/9/2015 1:28, Igor Korot wrote:
Werner,
On Mon, Jun 8, 2015 at 8:26 AM, Werner wernerfbd@gmx.ch wrote:
Hi,
On 6/8/2015 14:04, Igor Korot wrote:
Werner,
…
Alena-Korots-MacBook:listctrl AlenaKorot$ pythonPython 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
import numpy
numpy.version
‘1.9.2’Nevertheless, I’m getting that error on running pyplot demo.
What do you get when you do:import wx
wx.VERSION_STRING
and:
import wx.lib.plot
Here is the output:Alena-Korots-MacBook:listctrl AlenaKorot$ python
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
import wx
wx.VERSION_STRING
‘3.0.0.0’
import wx.lib.plot
Traceback (most recent call last):File “”, line 1, in
File “/usr/local/lib/wxPython-3.0.0.0/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/lib/plot.py”,
line 126, in
raise ImportError, "NumPy not found.\n" + msg
ImportError: NumPy not found.
This module requires the NumPy module, which could not be imported. It probably is not installed (it's not part of the standard Python distribution). See the Numeric Python site ([http://numpy.scipy.org](http://numpy.scipy.org)) for information on downloading source or binaries.
Does this mean I got an error compiling?
Thank you.
I don’t know, wx.lib.plot just does “import numpy as np” and if that throws an error you see the message above, I don’t understand how you can import numpy manually without problem but wx.lib.plot gets an error when it does the same.
Do you have some other files/folders called numpy on your search path?
Werner
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
–
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception