Re: [Tutor] [Python2.7] Convert (2,188,1) into (188,1)

2017-07-03 Thread Ashfaq
Is it a 3-item tuple? On Wed, Jun 28, 2017 at 9:48 PM, Allan Tanaka via Tutor wrote: > Hi. I have array shape like: (2,188,1). I want to make it like this: > (188,1). I try that using .reshape(188,1) but throws an error: total size > of an array must be unchanged > Thank you for the help! >

[Tutor] Fwd: Re: Ubuntu install [was: Re: Fwd: Re: program code for Python Programming for the Absolute Beginner, 3rd ed.?]

2017-07-03 Thread Alan Gauld via Tutor
Forwarding to group. Please always use ReplyAll (or ReplyList) when responding to list emails. Forwarded Message I have a fresh install of Ubuntu 16.04.2, on which I try to install Python 3.6.1. I have done this multiple times in the past, but for some reason I tried it 3

Re: [Tutor] Fwd: Re: program code for Python Programming for the Absolute Beginner, 3rd ed.?

2017-07-03 Thread Cameron Simpson
On 03Jul2017 09:13, Alan Gauld wrote: [...] Sorry, I still have no idea what you are trying to do and what you want help with? Forwarded Message Alan, my bad, here is the error message. *The directory '/home/mariejosv/.cache/pip/http' or its parent directory is not owned by the

[Tutor] Ubuntu install [was: Re: Fwd: Re: program code for Python Programming for the Absolute Beginner, 3rd ed.?]

2017-07-03 Thread Alan Gauld via Tutor
On 03/07/17 09:13, Alan Gauld via Tutor wrote: > forwarding to list. > > Sorry, > I still have no idea what you are trying to do and what you want help with? OK, I just realized that you replied to the wrong post and this is actually about the thread on installing 3.6 on Ubuntu. > > Fo

[Tutor] Fwd: Re: program code for Python Programming for the Absolute Beginner, 3rd ed.?

2017-07-03 Thread Alan Gauld via Tutor
forwarding to list. Sorry, I still have no idea what you are trying to do and what you want help with? Forwarded Message Alan, my bad, here is the error message. *The directory '/home/mariejosv/.cache/pip/http' or its parent directory is not owned by the current user and the ca

Re: [Tutor] Installing Python3.6.1 on Ubuntu 16.04.2

2017-07-03 Thread Mike Lisanke
looks like python3.6 isn't in the stable repo for arm64 ubuntu 16.04... so articles exist for building it. None appear to mention .configure -- used and there's a lot of options... if anyone has a reference to what to configure, let me know. On Sun, Jul 2, 2017 at 7:46 PM, Mats Wichmann wrote: >

Re: [Tutor] Installing Python3.6.1 on Ubuntu 16.04.2

2017-07-03 Thread Joseph VOGTEMBING via Tutor
HEY GUYS,SORRY, BUT HERE IS THE ERROR MESSAGE."The directory '/home/mariejosv/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H f