我試圖導入logging
模塊,但我得到這個錯誤:無法導入郵件模塊在Python
./mail.py: line 1: import: command not found from: can't read /var/mail/marrow.mailer
./mail.py: line 3: syntax error near unexpected token `level=logging.INFO
./mail.py: line 3: `logging.basicConfig(level=logging.INFO)
號沒有看到什麼你真正想要的幫助。發佈您的實際代碼,至少第3行。 – Joe