Hi, what I used:
* python-2.5.4.msi
* wxPython2.8-win32-unicode-2.8.11.0-py25.exe
* numpy-1.4.1-win32-superpack-python2.5.exe
* matplotlib-0.99.3.win32-py2.5.exe
* xlrd-0.7.1.win32.exe
* iTrade- version 951
and I got the error:
File "D:\finance\svn_itrade\itrade\myfinance.py", line 24, in <module>
from matplotlib.transforms import scale_transform, Value, zero, one, \
ImportError: cannot import name scale_transform
So I replaced the myfinance.py version 950 with the myfinance.py version 341, then I got the same error.
After commentting out the line 24 of the file, iTrade is started successfully. But I don't think this is a correct solution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So you have to change scale_transform to Affine2D after import and then change all scale_transform by Affine2D().scale
But then another error comes :
from matplotlib.transforms import Affine2D, Value, zero, one,scale_sep_transform, blend_xy_sep_transform
ImportError: cannot import name Value
For now can't find out what's the change with Value
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can send you a mail for matplotlib-0.90.1.win32-py2.5.exe
i give you also this link to download matplotlib_0.90.1.orig.tar.gz (2.9 MiB)
I down't know if it's a good version for windows https://launchpad.net/ubuntu/gutsy/+source/matplotlib/0.90.1-2ubuntu1
Thank's for your answer
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, what I used:
* python-2.5.4.msi
* wxPython2.8-win32-unicode-2.8.11.0-py25.exe
* numpy-1.4.1-win32-superpack-python2.5.exe
* matplotlib-0.99.3.win32-py2.5.exe
* xlrd-0.7.1.win32.exe
* iTrade- version 951
and I got the error:
File "D:\finance\svn_itrade\itrade\myfinance.py", line 24, in <module>
from matplotlib.transforms import scale_transform, Value, zero, one, \
ImportError: cannot import name scale_transform
So I replaced the myfinance.py version 950 with the myfinance.py version 341, then I got the same error.
After commentting out the line 24 of the file, iTrade is started successfully. But I don't think this is a correct solution.
Hi,
Try to use
matplotlib-0.90.1.win32-py2.5.exe
numpy-1.0.4.win32-p3-py2.5.exe
and add psyco-1.6.win32-py25.exe
and use myfinance.py version 950
Michel
scale_transform is now called Affine2D().scale API Change http://matplotlib.sourceforge.net/api/api_changes.html?highlight=cannot%20import%20name%20value .
So you have to change scale_transform to Affine2D after import and then change all scale_transform by Affine2D().scale
But then another error comes :
from matplotlib.transforms import Affine2D, Value, zero, one,scale_sep_transform, blend_xy_sep_transform
ImportError: cannot import name Value
For now can't find out what's the change with Value
In fact, I found nowhere to download the matplotlib-0.90.1.win32-py2.5.exe. http://sourceforge.net/projects/matplotlib/files/, here the oldest version is matplotlib-0.91.1.
I can send you a mail for matplotlib-0.90.1.win32-py2.5.exe
i give you also this link to download matplotlib_0.90.1.orig.tar.gz (2.9 MiB)
I down't know if it's a good version for windows
https://launchpad.net/ubuntu/gutsy/+source/matplotlib/0.90.1-2ubuntu1
Thank's for your answer
link to download matplotlib-0.90.1.win32-py2.5.exe
http://www.mech.uq.edu.au/courses/mech2700-resource-cd-2007/python/
or
http://www.mech.uq.edu.au/courses/mech2700-resource-cd-2007/python/matplotlib-0.90.1.win32-py2.5.exe
the matplotlib_0.90.1.orig.tar.gz doesn't work for windows. Thanks for your answer.
Please use latest versions of iTrade from SVN which are now compatible with matplotlib 0.98.x and above