DEV Community

loading...

python3 yum

dongri profile image D ・1 min read
  File "/bin/yum", line 30
    except KeyboardInterrupt, e:
                            ^
SyntaxError: invalid syntax
$ sudo vim /bin/yum
#!/usr/bin/python -> #!/usr/bin/python2
  File "/usr/libexec/urlgrabber-ext-down", line 28
    except OSError, e:
                  ^
SyntaxError: invalid syntax
$ sudo vim /usr/libexec/urlgrabber-ext-down
#!/usr/bin/python -> #!/usr/bin/python2

Discussion (0)

pic
Editor guide