hi everyone, I run python 2.7.2. in Eclipse (recently upgraded from 2.6). I
have a problem with installing matplotlib (I found the version for python
2.7. MacOs 10.3, no later versions). If I run python in terminal using arch
-i386 python, and then
from matplotlib.pylab import *
and similar
I'm using Eclipse (PyDev) on MacOS. I downloaded scipy010, installed it and
added path to .mpkg file to PYTHONPATH and scipy to forced built-in.
Nothing worked, I keep getting 'module scipy not found'. I then removed the
link to the .mpkg and still nothing works. Strange enough, numpy works just
yes, that's exactly what i did. I'm using Python2.6 both in PyDev and Scipy.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
yeah, I've already removed it, still doesn't work.
I'm running Python 2.6 and SciPy version I'm trying to install is
scipy-0.10.0-py2.6-python.org-macosx10.3., pydev version is 2.2.4
I've had no trouble running numpy or Tkinter for example. Also none of
the other modules I'm using have been
OK thanks guys, reinstalling the interpreter did the trick. I'm quite
sure I did it before though, without any effect. More interestingly, I
have two interpreters running, one for 2.6 and the other the auto. So
the latter one still tells me the module isn't found, the former works
just fine.
hi eveyone,
is there a simple command in numpy similar to matlab char(bin2dec('//some
binary value//')) to convert binary to characters and back?
thanks
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
I got a problem running NumPy in Eclipse. I recently installed PyDev, but
after downloading NumPy the installation attempt failed since python 2.6 was
not found. I've installed Python 2.7. Do I need to replace it with Python
2.6?
___
NumPy-Discussion
this is probably silly question, I've seen in this in one of the tutorials:
from tkinter import *
import tkinter.messagebox
given that * implies importing the whole module, why would anyone bother
with importing a specific command on top of it?
___
I have a vector of positive integers length n. Is there a simple (i.e.
without sorting/ranking) of 'pulling out' k larrgest (or smallest) values.
Something like
*sum(x[sum(x,1)(max(sum(x,1)+min(sum(x,1/2,])*
but smarter
___
NumPy-Discussion mailing
I have 2 variables, say var1=10,var2=100. To divide I do either
divide(float(var1),float(var2)) or simply float(var1)/float(var2). I'm just
wondering if there's a smarter way of doing this?
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
thanks Sturl, your second code works well although I had to divide the
vector elements through 128 to get just the binaries
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
If I want to generate a string of random bits with equal probability I run
random.randint(0,2,size).
What if I want a specific proportion of bits? In other words, each bit is 1
with probability p1/2 and 0 with probability q=1-p?
thanks
___
hi, the question is probably very silly, but can't get my head around it
Say I have an NxM numerical array. What I want is to obtain the row and
column number of the smallest value(kinda like find command in Matlab). I
use something like where(min(array_name)), but keep getting the error
message.
hi every1,
I got the following issue: I wrote a function that converts binary strings
into a decimal value (binary expansion). When I write
type(x)
to find out the type of the value I get NoneType. Therefore I can't convert
it into anything else, such as float numbers, since command float(x)
hi thanks I've sorted ou the issue
Alex
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
thanks, this didn't seem to work. I get a whole range of errors, most
importantly
SystemError: Cannot compiler 'Python.h'. Perhaps you need to install
python-dev|python-devel.
Apparently, according to numpy installation guide
thanks! it actually worked! maybe u could recommend some good sources/readin
on how to install different modules in python run under linux
thanks again,
alex
2010/10/19 Pauli Virtanen p...@iki.fi
Tue, 19 Oct 2010 21:26:38 +1300, Alex Ter-Sarkissov wrote:
thanks, this didn't seem to work. I
hi everyone, i'm very new to ubuntu, now trying to install numpy and
wxpython.
Having unpacked numpy and running the standard commnad in idle
from numpy import *
i get the message
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please
hi, this is probably a very silly question, but I can't get my hear
around it unfortunately(
I have an array (say, mat=rand(3,5)) from which I 'pull out' a row
(say, s1=mat[1,]). The problem is, the shape of this row s1 is not
[1,5], as I would expect, but rather [5,], which means that I can't,
19 matches
Mail list logo