3b1b / 3b1b/manim

AttributeError: 'NoneType' object has no attribute 'loader'

未關閉
#2,105 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
93.9k
分支
7.7k
平均合併
2 天 13 小時
30 天內合併 PR
4

描述

I use my manim on VS Code successfully, but it doesn't work on pycharm.
![Screenshot 2024-03-03 at 19 52 11](https://github.com/3b1b/manim/assets/160403559/ec8f670d-1e40-450e-be70-18f7ba824382)

And it prints
AttributeError: 'NoneType' object has no attribute 'loader'

Does anybody knows how to solve it?
Thanks

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

錯誤 'AttributeError: 'NoneType' object has no attribute 'loader'' 表示 PyCharm 中模組載入有問題。先檢查 manim 的 CLI 進入點以及它如何設定環境。查看 traceback,找出 NoneType 出現的位置,可能在 import 或設定載入程式碼中。比較 VS Code 與 PyCharm 的環境設定以識別 PYTHONPATH 或工作目錄中的差異。

由索引模型根據 Issue 內容生成。

評估

領域
developer-experience
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。