On Tue, Oct 07, 2008 at 05:45:44AM +0200, Nadav Horesh wrote:
> Scipy from svn compiles with python2.6 with no problem. Problems that came
> later:
> 1. Could not install packages of scikits: I got a strange error about unknown
> name: log
Changes are this is a setuptools problem. Could you pos
2008/10/6 Nadav Horesh <[EMAIL PROTECTED]>:
>
> Scipy from svn compiles with python2.6 with no problem. Problems that came
> later:
> 1. Could not install packages of scikits: I got a strange error about unknown
> name: log
It's a bug in the version of setuptools that you have. I believe it
has
Scipy from svn compiles with python2.6 with no problem. Problems that came
later:
1. Could not install packages of scikits: I got a strange error about unknown
name: log
2. When trying to run from "idle" warnings become errors. I think that is a bug
of idle.
Nadav.
-הודעה מקורית-
מא
On Mon, Oct 6, 2008 at 1:59 PM, Robert Kern <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 6, 2008 at 14:32, John <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > why does the ValueError appear below, and how can i make that 2 > expression work when a is an array?
>
> (2 arguments to actual boolean True or Fa
John wrote:
> hi,
>
> why does the ValueError appear below,
because python short circuits this expression, and numpy can't overwrite
that -- the same reason a and b doesn't work for a and b arrays.
> and how can i make that 2 expression work when a is an array?
>>> (a > 2) & (a < 5)
array([
On Mon, Oct 6, 2008 at 14:32, John <[EMAIL PROTECTED]> wrote:
> hi,
>
> why does the ValueError appear below, and how can i make that 2 expression work when a is an array?
(2http://projects.scipy.org/mailman/listinfo/numpy-discussion
a < b < c
is equivalent to:
(a < b) and (b < c)
If you wand an element-wise operation you have to use the & operator, so the
expression is:
(a > 2) & (a < 5)
Nadav
-הודעה מקורית-
מאת: [EMAIL PROTECTED] בשם John
נשלח: ב 06-אוקטובר-08 21:32
אל: numpy-discussion@scipy.org
נושא: [Nu
hi,
why does the ValueError appear below, and how can i make that 2>> from numpy import reshape,arange
>>> a=reshape(arange(9),(3,3))
>>> a
array([[0, 1, 2],
[3, 4, 5],
[6, 7, 8]])
>>> 2>> a<5
array([[ True, True, True],
[ True, True, False],
[False, False, False]], d
On Mon, Oct 6, 2008 at 7:17 AM, Travis E. Oliphant
<[EMAIL PROTECTED]> wrote:
>>
> This is a really good thing and a lot of work. Thank you, David for
> doing all the heavy lifting.
Thanks. That's really a first step, though, as the long-term goal is
to start support of dynamically loaded optimze
Matthieu Brucher wrote:
> Hi again,
>
> That's because Python 2.3 is not supported by numpy 1.2 anymore (see
> the release notes) :|
> Try installing a Python 2.5 locally, as with numpy.
>
Alternatively, you can install numpy 1.1.x (numpy 1.1* still support
python 2.3).
cheers,
David
Hi again,
That's because Python 2.3 is not supported by numpy 1.2 anymore (see
the release notes) :|
Try installing a Python 2.5 locally, as with numpy.
Matthieu
2008/10/6 Roeland Huys <[EMAIL PROTECTED]>:
> Thanks!
>
> Unfortunately, I got following error:
>
import numpy
> Traceback (most
Thanks!
Unfortunately, I got following error:
>>> import numpy
Traceback (most recent call last):
File "", line 1, in ?
File
"/imec/other/neuray2/lib64/python2.3/site-packages/numpy/__init__.py",
line 125, in ?
import add_newdocs
File
"/imec/other/neuray2/lib64/python2.3/site-packages/n
Hi Roeland
2008/10/6 Roeland Huys <[EMAIL PROTECTED]>:
> tar -xvzf numpy-1.2.0.tar.gz [OK]
> cd numpy-1.2.0
> python setup.py build [OK]
python setup.py install --prefix=${HOME}
> set PYTHONPATH=$HOME/pythonlib
export PYTHONPATH=${HOME}/lib/python2.5/site-packages
Cheers
Stéfan
___
python setup.py install --prefix=$HOME/local/lib
set PYTHONPATH=$HOME/local/lib/python2.5/site-packages
and you're good to go. This is how I install everything and it's been
working for several years now ;)
Matthieu
2008/10/6 Roeland Huys <[EMAIL PROTECTED]>:
>
> Hi,
>
> I am very interested in
Hi,
I am very interested in my work to switch from Matlab to Numpy. However,
I want to test some algorithms first.
I tried to install NumPy on one of our corporate servers. However, I do
not have root access, so i did following:
tar -xvzf numpy-1.2.0.tar.gz [OK]
cd numpy-1.2.0
python setup.p
15 matches
Mail list logo