DEV Community

D
D

Posted on

python3 yum

  File "/bin/yum", line 30
    except KeyboardInterrupt, e:
                            ^
SyntaxError: invalid syntax
Enter fullscreen mode Exit fullscreen mode
$ sudo vim /bin/yum
#!/usr/bin/python -> #!/usr/bin/python2
Enter fullscreen mode Exit fullscreen mode
  File "/usr/libexec/urlgrabber-ext-down", line 28
    except OSError, e:
                  ^
SyntaxError: invalid syntax
Enter fullscreen mode Exit fullscreen mode
$ sudo vim /usr/libexec/urlgrabber-ext-down
#!/usr/bin/python -> #!/usr/bin/python2
Enter fullscreen mode Exit fullscreen mode

Top comments (0)