[Tutor] Doubts about installing python3.1 in squeeze

2014-05-22 Thread Markos
thon3.1 or should I do any other configuration? I'm confused. Are there any risk to install python3.1 and some programs stop working on my debian squeeze? Thanks for any tips? Markos ___ Tutor maillist - Tutor@python.org To unsubs

Re: [Tutor] Doubts about installing python3.1 in squeeze

2014-05-23 Thread Markos
On 22-05-2014 13:22, Alex Kleider wrote: On 2014-05-22 06:17, Markos wrote: Hi, I'm learning Python and I'm using Debian 6.0 (squeeze) The installed version is 2.6.6. (python -V) I have seen some recommendations for beginners to invest in version 3. I found package of Pyt

[Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread Markos
k (most recent call last): File "", line 1, in import numpy as np ImportError: No module named numpy How configure idle to load the numpy module? Thanks, Markos ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscriptio

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-09 Thread Markos
On 06-03-2015 21:43, boB Stepp wrote: On Fri, Mar 6, 2015 at 12:27 PM, Markos wrote: Hi, I'm beginning to study the numpy. When I open a terminal (Debian Squeeze) and run the python interpreter the command "import numpy as np" run without errors. But when I run the same c

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-11 Thread Markos
On 10-03-2015 16:48, Oscar Benjamin wrote: On 10 March 2015 at 13:59, Markos wrote: I don't have the python3-pip in the repository, then I downloaded the get-pip.py from: https://bootstrap.pypa.io/get-pip.py But when running the command "python3 get-pip.py" appears the err

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-12 Thread Markos
On 09-03-2015 21:25, Oscar Benjamin wrote: On 9 March 2015 at 18:09, Markos wrote: I installed numpy in Debian (6.0) with the command: apt-get install python-numpy I just find that this package is exclusively for python 2.5 and 2.6 The idle3 use Python 3.1.3. How to install numpy for

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-14 Thread Markos
On 13-03-2015 12:34, Oscar Benjamin wrote: On 11 March 2015 at 19:43, Markos wrote: On 10-03-2015 16:48, Oscar Benjamin wrote: Looks like a bug in pip or in the get-pip script. What version of python3 are you using? But the command to install numpy gave an error message

[Tutor] difference between array([1,0,1]) and array([[1,0,1]])

2019-06-21 Thread Markos
1, 3) The transpose on vector_1 don't work: vector_1.T array([1, 0, 1]) But the transpose method in vector_2 works fine: vector_2.T array([[1],    [0],    [1]]) I thought that both vectors would be treated as an matrix of 1 row and 3 columns. Why this difference? Any tip? Th

Re: [Tutor] Difference between array( [1, 0, 1] ) and array( [ [1, 0, 1] ] )

2019-06-22 Thread Markos
[ [2, 6],    [4, 8] ] ] ) Thank you, Markos Em 21-06-2019 07:44, edmondo.giovanno...@gmail.com escreveu: Every array in numpy has a number of dimensions, "np.array" is a function that can create an array numpy given a list. when you write vector_1 = np.array([1,2,1]) y