Re: [Tutor] [OT] Re: Need help in learning Python

2018-08-13 Thread Carlos Monge
Ok, this may have been a fatal error on my part but I decided to start
fresh and uninstalled my old version of Python. Now when I try to reinstall
I get these error messages..


Setup failed

one or more issues caused the setup to fail. Please fix the issues and then
retry setup. For more information see the log file.

0x80070643- Fatal error during installation.


I don't understand what the problem is because it is supposedly installing
to=
C:\Users\cmongeoroplate09\AppData\Local\Programs\Python\Python37-32



I also get another error message that says:

The TARGETDIR Variable must be provided when invoking the installer


I don't know what's happening.

On Mon, Aug 13, 2018 at 3:17 AM, Wallis Short 
wrote:

> Hi Alan
>
> Have a look here - I could write it but why invent the wheel :)
>
> https://www.howtogeek.com/249966/how-to-install-and-use-
> the-linux-bash-shell-on-windows-10/
>
> A quick "How To" to remote ssh into the WSL once installed
> sudo apt-get install openssh-server
>
> sudo vi /etc/ssh/sshd_config
> PermitRootLogin no
>
> PermitRootLogin - we need to change this to no
> PasswordAuthentication - We need to change this to yes
> UsePriviledgeSeperation - We need to change this to no
>
> Go to end of file (Shift G)
> insert
>
> AllowUsers ubuntu  (or whatever name you chose when you installed WSL)
>
> bounce the SSH service.
>
> sudo service ssh --full-restart
>
>
> *Wallis Short*   Senior Network Engineer
>
> 
>
> Metro Fibre Networx (Pty) Ltd
> www.metrofibre.co.za
>
> 298 Witch-Hazel Ave, Highveld, Centurion, Gauteng, 0157 South Africa
>  +Centurion,+Gauteng,+0157+South+Africa=gmail=g>
>
>
> On 13 August 2018 at 10:02, Alan Gauld via Tutor  wrote:
>
> > This thread is getting seriously off topic, but I'm
> > interested so I'm letting it run... :-)
> >
> > On 13/08/18 07:46, Wallis Short wrote:
> > > To learn Ubuntu, I would recommend installing Windows Subsystem for
> Linux
> > > onto your existing Windows 10 setup  and then get the Ubuntu (or SUSE
> and
> > > Debian) from the Microsoft store and install. It does have a few
> > > limitations (especially on the GUI) but again which proper Linux
> Sysadmin
> > > uses the GUI :)
> >
> > This is news to me. Can you elaborate a little on what
> > exactly this Linux Subsystem for Windows does? Does it
> > let me run Linux binaries under Windows? And if so how
> > do they show up on screen?
> >
> > This could potentially be very useful for something
> > I'm currently working on...
> >
> > PS. I probably should just google it, but since
> > you appear to have hands on experience...
> >
> > --
> > Alan G
> > Author of the Learn to Program web site
> > http://www.alan-g.me.uk/
> > http://www.amazon.com/author/alan_gauld
> > Follow my photo-blog on Flickr at:
> > http://www.flickr.com/photos/alangauldphotos
> >
> >
> > ___
> > Tutor maillist  -  Tutor@python.org
> > To unsubscribe or change subscription options:
> > https://mail.python.org/mailman/listinfo/tutor
> >
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Need help in learning Python

2018-08-12 Thread Carlos Monge
Thank you all. I will start in small steps. First Pygame and Ubuntu. I will
add any errors I get.

On Sun, Aug 12, 2018 at 11:51 AM, Mats Wichmann  wrote:

>
> > Start with checking that pip is there (or installing it if not)
> > Then do PyGae
> > Then do Matplotlib
>
> For this, please note that the pip "command" is not in the same
> directory on Windows as the python it is associated with.  If you went
> through the steps to have Python in your PATH, and that works, then add
> another entry that is just the same but appends the \Scripts comoponent;
> OR where your instructions tell you to "pip install foo" at a command
> prompt do instead "python -m pip install foo"  I believe the latter is
> now the recommended way anyway, because it ensures the pip matches the
> python in case you have more than one copy installed on your system.
>
>
> For your other questions, you could instead of making  dual-boot setup,
> do some initial experiments with running a Linux virtual environment.
>
> Here's one possibility which will give you a ton of Python stuff already
> set up:
>
> https://labs.fedoraproject.org/python-classroom/download/index.html
>
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] Need help in learning Python

2018-08-11 Thread Carlos Monge
 I bought two books to help me learn Python. "Python Crash Course" and
"Python for Informatics". I have done all of the basic lessons in "Python
Crash Course", but it has two additional sections to help instill what I
have learned To do those sections I need to install Pygame and make sure I
have 'pip' as well as Matplotlib. I have followed the directions in the
book but can't get anything to download so I can use it.
 For the "Python for Informatics" book I need to have files from the
internet load where I have Python so I can manipulate them, but I can't
seem to get that to work.

 Also, I would like to install Ubuntu on a second drive with Python,
Idle, C language and its compiler so I can also learn Linux. On the Linux
drive, I need to install Kali Linux for a class on Cyber Security.
 I know this is a lot to ask, but I don't need it all at once. I would
appreciate help from someone with experience in downloading all of these
things onto a windows computer with a second drive for Ubuntu and all of
the other software.
 Any help is appreciated, and if I find someone with the needed
expertise, I will happily subscribe on the Python-Tutor Info Page/
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor