ModuleNotFoundError For All Modules
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
[Here](https://github.com/shallow-beach/manim-import-test) is a detailed write-up of my issue, accompanying simple files to reproduce the error.
In summary, no matter what module is invoked, `manimgl` returns:
`ModuleNotFoundError: No module named 'myModule'`
where `myModule` is specified in `myModule.py` in the same directory as the main file being executed.
I think it may be an issue with my usage of `pipenv` and `pyenv`? I am unable to install `manimgl` without them so I can't isolate those factors.
### Environment
**OS System**: MacOS 14.2
**manim version**: 1.6.1
**python version**: 3.8.18
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
這個問題是關於執行 manimgl 時出現 ModuleNotFoundError,可能與使用 pipenv 與 pyenv 的 Python 環境設定有關。先檢查 manimgl 的 entry point,以及它如何解析模組匯入,特別是 sys.path 設定。使用提供的測試儲存庫重現該錯誤以了解環境上下文。檢查專案中的安裝和依賴管理代碼,看看它如何處理使用者模組。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli, developer-experience
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100