yii.
← Writing
開發筆記 · · 1 min read

Python | 問題 | module ‘re’ has no attribute ‘match’

這篇寫於 2020 年。工具和 API 變化很快,部分步驟可能已經不適用。

紀錄開發時發現的問題

原因#

專案裡面有跟re相同名稱的檔案

解決#

將檔案刪除或改名後就能正常運行囉

注意#

參考#

  1. https://www.cnblogs.com/joe235/p/11698868.html

本文原刊登於 Medium。