"ModuleNotFoundError: No module named 'transformer'"
"from transformer import decoder_stack" lead to the above error. I tried deactivating and then reactivating my virtual environment without success. I tried 'pip3 install transformers' without success. I get "Python 3.11.3 (v3.11.3:f3909b8bc8, Apr 4 2023, 20:12:10) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin" if I run 'python. I am running a script that needs to import 'alphageometry.py' but not run 'run.sh' in the folder where every AlphaGeometry Github files lie. I use Mac with VScode.
I have same issue here. If you solved this error, please help me out. Thank you.
Has it been solved?
Same error here.
The reason for this error is that you have to install meliad. Just follow the README.md to install it and this "transformer" will show in the meliad folder.
MELIAD_PATH=meliad_lib/meliad
mkdir -p $MELIAD_PATH
git clone https://github.com/google-research/meliad $MELIAD_PATH
export PYTHONPATH=$PYTHONPATH:$MELIAD_PATH