import-im6.q16: not authorized error 'os' @ error/constitue.c/WriteImage/1037 for a Python web scraper

前端 未结 1 1098
故里飘歌
故里飘歌 2020-12-17 14:07

I\'ve written a simple web scraper for a comic website. I\'m running it on Ubuntu (Linux ubuntu 4.18.0-16-generic #17~18.04.1-Ubuntu) but when I execute the scr

1条回答
  •  时光说笑
    2020-12-17 15:03

    I am pretty sure you are missing a shebang at the beginning of your file, for example

    #!/usr/bin/env python3
    #!/usr/bin/env python2
    

    0 讨论(0)
提交回复
热议问题