Re: [SciPy-User] Some updates on the tutorial test scripts and versions of tools needed
![](https://secure.gravatar.com/avatar/b5281a9b2636a3adf49f8f0781eaa840.jpg?s=120&d=mm&r=g)
Fernando Perez wrote:
here are some notes regarding the tutorial requirements. I am sending this to all of you, though some of it may only apply to those attending the advanced track.
- If you had troubles with the testing scripts, please note that I've fixed a few small issues. The current versions are (intro, advanced and pycuda-specific):
https://cirl.berkeley.edu/fperez/tmp/intro_tut_checklist.py https://cirl.berkeley.edu/fperez/tmp/adv_tut_checklist.py https://cirl.berkeley.edu/fperez/tmp/pycuda_tut_checklist.py
... The stable Debian version of cython is 0.9.8. I just downloaded it. "AssertionError: Cython version (0, 9, 8) found, at least (0, 11, 2) required" It seems that 0.11.2 is in the unstable Debian distribution. Can someone suggest how to get that package without having to upgrade to unstable? Thanks Tom
![](https://secure.gravatar.com/avatar/baf74ca1640047f08e0c998159d01fc5.jpg?s=120&d=mm&r=g)
On Sun, Aug 16, 2009 at 3:17 PM, Tom Kuiper <kuiper@jpl.nasa.gov> wrote:
here are some notes regarding the tutorial requirements. I am sending
Fernando Perez wrote: this to
all of you, though some of it may only apply to those attending the advanced track.
- If you had troubles with the testing scripts, please note that I've fixed a few small issues. The current versions are (intro, advanced and pycuda-specific):
https://cirl.berkeley.edu/fperez/tmp/intro_tut_checklist.py https://cirl.berkeley.edu/fperez/tmp/adv_tut_checklist.py https://cirl.berkeley.edu/fperez/tmp/pycuda_tut_checklist.py
... The stable Debian version of cython is 0.9.8. I just downloaded it.
"AssertionError: Cython version (0, 9, 8) found, at least (0, 11, 2) required"
It seems that 0.11.2 is in the unstable Debian distribution. Can someone suggest how to get that package without having to upgrade to unstable?
Thanks
Tom _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
Hi Tom, This is Fedora 11. You might try to make a source installation. It just works fine here. (Might be a good idea to remove the old Cython package to eliminate the conflicts.) First install Mercurial to use hg command, then do: hg clone http://hg.cython.org/cython/ go in to the cython directory and issue a "python setup.py install." That should bring you up-to-date. -- Gökhan
![](https://secure.gravatar.com/avatar/b5281a9b2636a3adf49f8f0781eaa840.jpg?s=120&d=mm&r=g)
That would be a last resort as it would break the Debian package system. Tom Gökhan Sever wrote:
On Sun, Aug 16, 2009 at 3:17 PM, Tom Kuiper <kuiper@jpl.nasa.gov <mailto:kuiper@jpl.nasa.gov>> wrote:
Fernando Perez wrote: > here are some notes regarding the tutorial requirements. I am sending this to > all of you, though some of it may only apply to those attending the advanced > track. > > - If you had troubles with the testing scripts, please note that I've fixed a > few small issues. The current versions are (intro, advanced and > pycuda-specific): > > https://cirl.berkeley.edu/fperez/tmp/intro_tut_checklist.py > https://cirl.berkeley.edu/fperez/tmp/adv_tut_checklist.py > https://cirl.berkeley.edu/fperez/tmp/pycuda_tut_checklist.py > ... The stable Debian version of cython is 0.9.8. I just downloaded it.
"AssertionError: Cython version (0, 9, 8) found, at least (0, 11, 2) required"
It seems that 0.11.2 is in the unstable Debian distribution. Can someone suggest how to get that package without having to upgrade to unstable?
Thanks
Tom _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org <mailto:SciPy-User@scipy.org> http://mail.scipy.org/mailman/listinfo/scipy-user
Hi Tom,
This is Fedora 11. You might try to make a source installation. It just works fine here. (Might be a good idea to remove the old Cython package to eliminate the conflicts.)
First install Mercurial to use hg command, then do:
hg clone http://hg.cython.org/cython/
go in to the cython directory and issue a "python setup.py install."
That should bring you up-to-date. -- Gökhan
![](https://secure.gravatar.com/avatar/764323a14e554c97ab74177e0bce51d4.jpg?s=120&d=mm&r=g)
On Sun, Aug 16, 2009 at 15:31, Tom Kuiper<kuiper@jpl.nasa.gov> wrote:
That would be a last resort as it would break the Debian package system.
$ sudo python setup.py install --prefix=/usr/local -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
![](https://secure.gravatar.com/avatar/9decddc020f244d97b6651302b277c60.jpg?s=120&d=mm&r=g)
2009/8/16 Tom Kuiper <kuiper@jpl.nasa.gov>:
It seems that 0.11.2 is in the unstable Debian distribution. Can someone suggest how to get that package without having to upgrade to unstable?
In case you're still looking for a solution, and disclaimer: this is from memory as I use Ubuntu now, you can temporarily add the unstable repositories into your apt sources list, and use `apt-get install -t unstable cython` to just get that version. It will, I believe, pull in any dependencies from the unstable distribution that it requires as well, but not generally upgrade the system. Then I've commented the unstable repositories out again to ensure that I don't pull in any more unstable packages than I need in subsequent operations. Angus. -- AJC McMorland Post-doctoral research fellow Neurobiology, University of Pittsburgh
![](https://secure.gravatar.com/avatar/5c9fb379c4e97b58960d74dcbfc5dee5.jpg?s=120&d=mm&r=g)
On Sun, Aug 16, 2009 at 07:41:28PM -0400, Angus McMorland wrote:
2009/8/16 Tom Kuiper <kuiper@jpl.nasa.gov>:
It seems that 0.11.2 is in the unstable Debian distribution. Can someone suggest how to get that package without having to upgrade to unstable?
In case you're still looking for a solution, and disclaimer: this is from memory as I use Ubuntu now, you can temporarily add the unstable repositories into your apt sources list, and use `apt-get install -t unstable cython` to just get that version. It will, I believe, pull in any dependencies from the unstable distribution that it requires as well, but not generally upgrade the system. Then I've commented the unstable repositories out again to ensure that I don't pull in any more unstable packages than I need in subsequent operations.
Don't do that. Use Robert's solution. It has no chances of breaking your install. Gaël
![](https://secure.gravatar.com/avatar/f5e2eed5819807cb22e9d04eb66ab290.jpg?s=120&d=mm&r=g)
On Sun, 16 Aug 2009 13:17:12 -0700 Tom Kuiper <kuiper@jpl.nasa.gov> wrote:
Fernando Perez wrote:
here are some notes regarding the tutorial requirements. I am sending this to all of you, though some of it may only apply to those attending the advanced track.
- If you had troubles with the testing scripts, please note that I've fixed a few small issues. The current versions are (intro, advanced and pycuda-specific):
https://cirl.berkeley.edu/fperez/tmp/intro_tut_checklist.py https://cirl.berkeley.edu/fperez/tmp/adv_tut_checklist.py https://cirl.berkeley.edu/fperez/tmp/pycuda_tut_checklist.py
... The stable Debian version of cython is 0.9.8. I just downloaded it.
"AssertionError: Cython version (0, 9, 8) found, at least (0, 11, 2) required"
It seems that 0.11.2 is in the unstable Debian distribution. Can someone suggest how to get that package without having to upgrade to unstable?
Hi Tom, you could try to pin to the cython package from unstable. However you might need to pull in quite a few dependencies from unstable. Have a look at the debian apt howto: http://www.debian.org/doc/manuals/apt-howto/index.en.html#contents specifically sections 3.8 How to keep a mixed system and 3.10 How to keep specific versions of packages installed (complex) Cheers Jochen
Thanks
Tom _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
![](https://secure.gravatar.com/avatar/006908a7e829596c5bc3421f3c3a13c0.jpg?s=120&d=mm&r=g)
Hi Tom, On Sun, Aug 16, 2009 at 1:17 PM, Tom Kuiper<kuiper@jpl.nasa.gov> wrote:
It seems that 0.11.2 is in the unstable Debian distribution. Can someone suggest how to get that package without having to upgrade to unstable?
Besides the suggestion Andrew made, I can only say what my approach is on such matters: I use ubuntu (basically debian stable from X months ago), and then I keep in ~/usr/local a fully configured subsystem with $PATH, $PYTHONPATH, etc, and then do python setup.py install --prefix=~/usr/local/ for all packages that I need in newer versions than what's in ubuntu (numpy, scipy, cython, matplotlib, networkx, sympy). Cheers, f
participants (7)
-
Angus McMorland
-
Fernando Perez
-
Gael Varoquaux
-
Gökhan Sever
-
Jochen
-
Robert Kern
-
Tom Kuiper