## Summary of Installation Issues with AlphaGeometry and Meliad
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- numpy, python
調査の方向性
まず README.md のインストール手順、models.py、および meliad_lib/meliad/requirements.txt ファイルを確認します。Python 3.10.9 環境で直接 import transformer.decoder_stack が失敗することを再現し、その後 Meliad のモジュール構成と依存関係のバージョンを調査します。完了の条件は、完全な alphageometry モードがインポートされて実行でき、DDAR solver が引き続き動作することです。
索引モデルが issue の本文から書いたものです。
説明
I am trying to run the full alphageometry solver by following the instructions in the README.md. While the ddar solver works perfectly after some modifications, I am unable to get the full alphageometry mode (which requires the Meliad library) to run.
I have followed all installation steps, including manually cloning the Meliad repository and setting the PYTHONPATH. However, this leads to a series of persistent import errors.
Environment
- Python Version: 3.10.9 (in a virtual environment)
- System: Remote server (Beagle3)
Sequence of Errors and Fixes Attempted
-
Initial Error:
ImportError: cannot import name 'decoder_stack' from 'transformer'.- This occurred because Python could not find the Meliad library.
- Fix: I confirmed that I had cloned Meliad into
meliad_lib/meliadand correctly set thePYTHONPATHusingexport PYTHONPATH=$PYTHONPATH:$(pwd)/meliad_lib/meliad.
-
Circular Import Error: After fixing the path, a new error appeared:
ImportError: cannot import name 'decoder_stack' from partially initialized module 'transformer' (most likely due to a circular import).- This seemed to be caused by a file name conflict, as both AlphaGeometry and Meliad have a file named
decoder_stack.py. - Fix: I renamed the AlphaGeometry file to
ag_decoder_stack.pyand updated the corresponding import statement inmodels.py.
- This seemed to be caused by a file name conflict, as both AlphaGeometry and Meliad have a file named
-
Module Not Found Error: The previous fix led to
ModuleNotFoundError: No module named 'transformer.decoder_stack'.- To diagnose this, I ran a direct import test in a Python shell (
import transformer.decoder_stack), which also failed. This confirmed the issue was with the Meliad library itself, not the AlphaGeometry script. - Fix: I installed Meliad's own dependencies by running
pip install -r meliad_lib/meliad/requirements.txt.
- To diagnose this, I ran a direct import test in a Python shell (
-
NumPy Version Conflict: After installing Meliad's dependencies, a new error occurred:
ImportError: numpy.core.multiarray failed to import.- This was because Meliad's requirements installed NumPy 2.x, which conflicted with
matplotliband other packages that required NumPy 1.x. - Fix: I downgraded NumPy by running
pip install --force-reinstall "numpy<2.0".
- This was because Meliad's requirements installed NumPy 2.x, which conflicted with
-
Persistent
ModuleNotFoundError: After all these fixes, the error has reverted back toModuleNotFoundError: No module named 'transformer.decoder_stack'.
Current Status
The purely symbolic DDAR solver works correctly. However, the full alphageometry mode is unusable due to what appears to be a fundamental issue with the way the Meliad library's modules are structured or imported. Despite all troubleshooting, the core problem of importing transformer.decoder_stack persists.
Any help or guidance on how to resolve this final import issue would be greatly appreciated.
- 主要言語
- Python
- スター
- 4.9k
- フォーク
- 572
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google-deepmind/alphageometry のほかの issue
-
Cannot run on Colabオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
google-deepmind/alphageometry#48 · コメント 2 件 ·
-
Alpha Geometryオープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
google-deepmind/alphageometry#183 · コメント 1 件 ·
-
A célod, hogy 2D-s papírkivágó-sablonokat (ún. "papírhálókat" vagy "papercraft" mintákat) 3D kockaオープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
google-deepmind/alphageometry#177 ·
-
2025澳洲AMC8 J級 30題オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
google-deepmind/alphageometry#176 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
google-deepmind/alphageometry#175 ·
google-deepmind/alphageometry の issue をすべて見る
似ている issue
-
good first issue test
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ANCORATE/EncryptHome#8 ·
-
PluginProvider.storeInstance races and clobbers the dedup cache for concurrent loads対応中かも @Wilson0511 が今日担当しました。 オープンneeds-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 2 日以内に返信
-
Bug: failed Together chat calls do not record operation duration or error.type対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
community documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100