Python Forum
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sudo apt Not Working
#1
Not sure this is the right place for this problem but it's where I thought was best. I'm relatively new to Python but did some programming in C+ many years ago.

Running Python 3.6.2 on Windows 10.

When I run "sudo apt-get upate" I get a syntax error.

Python 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:14:34) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> sudo apt-get update
  File "<stdin>", line 1
    sudo apt-get update
           ^
SyntaxError: invalid syntax
I don't have a problem running this on my PI.
Any idea what's going on? Think Thanks in advance.
Reply


Messages In This Thread
sudo apt Not Working - by Dacdiver - Sep-30-2017, 03:01 PM
RE: sudo apt Not Working - by Larz60+ - Sep-30-2017, 03:48 PM
RE: sudo apt Not Working - by buran - Sep-30-2017, 04:08 PM
RE: sudo apt Not Working - by Dacdiver - Oct-04-2017, 11:59 PM
RE: sudo apt Not Working - by Larz60+ - Oct-05-2017, 12:28 AM
RE: sudo apt Not Working - by sparkz_alot - Oct-05-2017, 12:32 AM
RE: sudo apt Not Working - by wavic - Oct-05-2017, 09:11 AM
RE: sudo apt Not Working - by sparkz_alot - Oct-05-2017, 02:15 PM
RE: sudo apt Not Working - by wavic - Oct-05-2017, 07:02 PM
RE: sudo apt Not Working - by RyAn - Nov-09-2021, 03:20 AM
RE: sudo apt Not Working - by DeaD_EyE - Nov-09-2021, 01:32 PM
RE: sudo apt Not Working - by jefsummers - Nov-09-2021, 05:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  sudo RyAn 2 1,605 Nov-09-2021, 12:43 PM
Last Post: DeaD_EyE
  cant use ping, sudo or other commands in remote shell script. throwaway34 7 3,715 May-17-2021, 11:29 AM
Last Post: throwaway34
  Linux Script Sudo and "&" s3fac5 14 5,850 Aug-30-2019, 08:02 AM
Last Post: s3fac5
  do sudo su - user in python script aruntracer 2 15,294 Apr-02-2018, 12:45 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020