Re: [Tutor] Need help in learning Python
I am also from a Linux background and I second exactly what James and David said. 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 :) Its quite simple to install as you add it via the "Windows Features" and click on "Windows Subsystem for Linux" This is an easy way to have Linux at your beck and call just by invoking the OS by typing a command into the run command cmd Unless of course you don't mind dual booting your laptop or have another laptop/PC close by :) Cheers *Wallis Short* Senior Network Engineer <http://metrofibre.co.za/> Metro Fibre Networx (Pty) Ltd www.metrofibre.co.za 298 Witch-Hazel Ave, Highveld, Centurion, Gauteng, 0157 South Africa <https://maps.google.com/?q=298+Witch-Hazel+Ave,+Highveld,+Centurion,+Gauteng,+0157+South+Africa&entry=gmail&source=g> On 12 August 2018 at 18:51, 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
Re: [Tutor] [OT] Re: Need help in learning Python
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 <http://metrofibre.co.za/> Metro Fibre Networx (Pty) Ltd www.metrofibre.co.za 298 Witch-Hazel Ave, Highveld, Centurion, Gauteng, 0157 South Africa <https://maps.google.com/?q=298+Witch-Hazel+Ave,+Highveld,+Centurion,+Gauteng,+0157+South+Africa&entry=gmail&source=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