473,804 Members | 3,156 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

gplt from scipy missing ?

I'm relatively new to python. I'm following a tutorial I found on the
net, and it uses scipy's gplt for plotting.
I installed scipy from their website (win32 installation), numpy also,
but when I do

from scipy import gplt

it gives this error:

Traceback (most recent call last):
File "<pyshell#0 >", line 1, in <module>
from scipy import gplt
ImportError: cannot import name gplt

Please, can you help me solve this ? How do I get gplt to work ?
All advice appreciated.
Best regards
Ivan
Sep 23 '08 #1
4 3024
En Mon, 22 Sep 2008 23:19:49 -0300, Ivan Reborin
<ir******@delet e.this.gmail.co mescribió:
I'm relatively new to python. I'm following a tutorial I found on the
net, and it uses scipy's gplt for plotting.
I installed scipy from their website (win32 installation), numpy also,
but when I do

from scipy import gplt

it gives this error:

Traceback (most recent call last):
File "<pyshell#0 >", line 1, in <module>
from scipy import gplt
ImportError: cannot import name gplt

Please, can you help me solve this ? How do I get gplt to work ?
All advice appreciated.
I think scipy does not bundle plotting packages anymore - you may use
whatever suits you, from other sources.
Try matplotlib, see the wiki:
http://wiki.python.org/moin/NumericA...tific/Plotting

--
Gabriel Genellina

Sep 23 '08 #2
On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina"
<ga*******@yaho o.com.arwrote:
>
I think scipy does not bundle plotting packages anymore - you may use
whatever suits you, from other sources.
Try matplotlib, see the wiki:
http://wiki.python.org/moin/NumericA...tific/Plotting
Hello Gabriel,
thank you for answering.

Unfortunatelly, I cannot change my plotting package, unless I indend
to change a lot of code that I'll be using in the future. I'm not a
programmer by trade, just a guy doing some calculations with already
written programms.

Do you know, by any chance, where one could get gplt separately, or
for example, get older versions of scipy ?
I'm using python 5.2.2.. If I install scipy for python 2.3. for
example (let's assume that one still has gplt in it) will it work ?

Best regards
Ivan
Sep 23 '08 #3
On Tue, 23 Sep 2008 13:44:41 +0200, Ivan Reborin
<ir******@delet e.this.gmail.co mwrote:
>On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina"
<ga*******@yah oo.com.arwrote:
>>
I think scipy does not bundle plotting packages anymore - you may use
whatever suits you, from other sources.
Try matplotlib, see the wiki:
http://wiki.python.org/moin/NumericA...tific/Plotting

Hello Gabriel,
thank you for answering.

Unfortunatelly , I cannot change my plotting package, unless I indend
to change a lot of code that I'll be using in the future. I'm not a
programmer by trade, just a guy doing some calculations with already
written programms.

Do you know, by any chance, where one could get gplt separately, or
for example, get older versions of scipy ?
I'm using python 5.2.2.. If I install scipy for python 2.3. for
Mea culpa, *2.5.2
>example (let's assume that one still has gplt in it) will it work ?

Best regards
Ivan
Sep 23 '08 #4
On Sep 23, 7:44 am, Ivan Reborin <irebo...@delet e.this.gmail.co m>
wrote:
On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina"

<gagsl-...@yahoo.com.a rwrote:
I think scipy does not bundle plotting packages anymore - you may use
whatever suits you, from other sources.
Try matplotlib, see the wiki:
http://wiki.python.org/moin/NumericA...tific/Plotting

Hello Gabriel,
thank you for answering.

Unfortunatelly, I cannot change my plotting package, unless I indend
to change a lot of code that I'll be using in the future. I'm not a
programmer by trade, just a guy doing some calculations with already
written programms.

Do you know, by any chance, where one could get gplt separately, or
for example, get older versions of scipy ?
I'm using python 5.2.2.. If I install scipy for python 2.3. for
example (let's assume that one still has gplt in it) will it work ?

Best regards
Ivan
Well, if you are using scipy, you must at least be doing some
programming. Instead of using gplt, you could just write your data to
a .csv file and feed that to gnuplot yourself. You can then use the
full flexibility of gnuplot for formatting your output, without having
to cross your fingers that the features you need will be covered by
the gplt module. You also have your data in a readable format after
calculation but before plotting - I find such intermediate data useful
for debugging.
Sep 23 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2641
by: hawkesed | last post by:
Hi All, has anyone out there recently set up scipy on Windows? Cause I am trying to do so know and I am not having much luck. I have ActiveState and Plone. When I try to import scipy in ActiveState it says >>> import scipy Traceback (most recent call last): File "<interactive input>", line 1, in ? ImportError: No module named scipy >>> from scipy import * Traceback (most recent call last):
1
8082
by: tkpmep | last post by:
I installed SciPy and NumPy (0.9.5, because 0.9.6 does not work with the current version of SciPy), and had some teething troubles. I looked around for help and observed that the tutorial is dated October 2004, and is not as thorough as Python's documentation. Is there an alternative source of information that lists all the functions and their usage? I tried using scipy.info to get information on the std function in the stats libary,...
0
1514
by: Julien Fiore | last post by:
Hi, I have problems trying to install the scipy.weave package. I run Python 2.4 on windows XP and my C compiler is MinGW. Below is the output of scipy.weave.test(). I read that the tests should last several minutes, but in my case it only lasts a few seconds. Thanks in advance for any help. Julien Fiore
2
354
by: Aage Andersen | last post by:
I am exploring the modules scipy and linalg using python under Win XP and IDLE. Defining m=matrix( .. ) and trying to compute the inverse of m: I get an array: This is unfortunate. I would rather have a matrix returned as the rules for
2
3950
by: robert | last post by:
I'm using latest numpy & scipy. What is this problem ? : RuntimeError: module compiled against version 1000002 of C-API but this version of numpy is 1000009 Traceback (most recent call last): File "<interactive input>", line 1, in ? File "C:\PYTHON23\Lib\site-packages\scipy\stats\__init__.py", line 7, in ? from stats import * File "C:\PYTHON23\Lib\site-packages\scipy\stats\stats.py", line 191, in ? import scipy.special as special File...
2
1577
by: Peter Maas | last post by:
I tried some scipy examples using scipy 0.52, numpy 1.02 and python 2.5 on a WinXP SP2 machine. numpy.linalg.det() works but scipy.linalg.det() crashes python. Has anybody experienced this and can point me to a solution? Thanks for your help. Peter Maas, Aachen
2
2750
by: Frank Moyles | last post by:
Hi, I want to use SciPy library. I am using W2k, and ActiveState Python 2.5. I have succesfully numpy, but when I run the scipy-0.6.0.win32-py2.5.exe (from the downloads section on the SciPy page), nothing happens - i.e. no information is printed on the console, and the setup application simply quits with no warning/error message. has anyone managed to succesfully install SciPy using scipy-0.6.0.win32-py2.5.exe & ActiveState Python on...
0
1158
by: Frank Moyles | last post by:
Hi, I want to use SciPy library. I am using W2k, and the standard Python 2.5.1 binary distribution from www.pthon.org I have already succesfully installed numpy, but when I try to install SciPy (by running the binary provided at scipy.org) - scipy-0.6.0.win32-py2.5.exe I get nothing. That is to say, nothing happens - i.e. no information is printed on the console, and the setup application simply quits with no warning/error message.
4
2150
by: Richard_Martineau | last post by:
Hello All I wonder if anyone can advise me or has done similar to the following? Basically I've downloaded the Python 2.5.2 source code that builds with Visual Studio 6.0. I've built Python for windows. This was easy (it even came with the pcbuild.dsw workspace file). Great! Now comes the troubled bit...I now look for similar source code for Python extensions Numpy and Scipy but the source code and directories
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10319
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10076
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9144
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7616
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6851
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3816
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.