ModuleNotFoundError: No module named 'transformer' is reported
ModuleNotFoundError: No module named 'transformer' is reported. I reinstalled or upgraded transformers. But it keeps showing up this error: from transformer import decoder_stack ModuleNotFoundError: No module named 'transformer'
I have the same problem. The module 'transformer' is used in 'transformer_layer.py' too.
Try and ensure you are within the virtual environment for python: pip3 install virtualenv or pip install virtualenv
Try running this scripts bash run.sh again
Well, I tried to run the shell script with msys2 inside a poetry virtual environment, and 'PYTHONPATH' seems not to work. So, I have to append system paths manually.
So is it now working because what you complained of is virtual environment problem
On Sat, Jan 27, 2024 at 1:23 PM Shijie Ni @.***> wrote:
Well, I tried to run the shell script with msys2 inside a poetry virtual environment, and 'PYTHONPATH' seems not to work. So, I have to append system paths manually.
— Reply to this email directly, view it on GitHub https://github.com/google-deepmind/alphageometry/issues/56#issuecomment-1913155626, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAKDKNA5R57DIOWOHCWLIDYQT5WJAVCNFSM6AAAAABCLS7FWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGE2TKNRSGY . You are receiving this because you commented.Message ID: @.***>
I'm having the same issue, running on Linux Mint OS. running in the virtual env, tried adding all those stuff to path, honestly tried everything suggested on the github page. Thanks for any help
My best advice as am also currently having problems with AG after getting past all these major problems is to do a fresh installation.
Delete all the files and folders, Try and ensure you do a reinstallation within the virtual environments. Most of these problems are usually caused by conflicting packages.
On Sun, Feb 11, 2024, 11:57 AM ilan1009 @.***> wrote:
I'm having the same issue, running on Linux Mint OS. running in the virtual env, tried adding all those stuff to path, honestly tried everything suggested on the github page. Thanks for any help
— Reply to this email directly, view it on GitHub https://github.com/google-deepmind/alphageometry/issues/56#issuecomment-1937641773, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAKDKKLDRGZ2WQMUUPZQDDYTCWZXAVCNFSM6AAAAABCLS7FWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGY2DCNZXGM . You are receiving this because you commented.Message ID: @.***>
I have the same problem and have solved it. It's an issue about the environment variable. meliad/meliad_lib may be not added into PYTHONPATH. Add it and try again.
Btw, if PYTHONPATH is not defined, it is better setting export PYTHONPATH=YOUR_CONDA_PATH/envs/ENV_NAME/bin:$MELIAD_PATH
AlphaGeometry is a bit difficult to set up. I made some improvements in a fork repository and have some ideas to further improve the performance of AlphaGeometry, check out AG4Masses and issue 110. I also shared my experiences with AG, including a detailed explanation of the problem definition language.