![](/img/trans.png)
[英]I'm getting an error when I try to run this code - unsupported operand type(s) for /: 'str' and 'int'
[英]When I delete a folder or a file in Django manually and try to run the project I'm getting error on the same module which I have deleted?
我從我的 Django 項目中刪除了一個名為 accounts 的文件夾,並嘗試運行該文件,但出現此錯誤
“ModuleNotFoundError:沒有名為‘accounts’的模塊”
即使我已手動刪除,它也要求我刪除路徑。 如何擺脫這個錯誤?
DjangoStarter 怎么說,檢查您安裝的應用程序和其他應用程序中的導入。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.