I have just installed AMSET by pip. Now I have a problem when starting the first testing step : amset run -h , then occurs
Traceback (most recent call last):
File “/opt/anaconda3/bin/amset”, line 5, in
from amset.tools.cli import cli
File “/opt/anaconda3/lib/python3.8/site-packages/amset/tools/cli.py”, line 7, in
from ruamel.yaml.error import MantissaNoDotYAML1_1Warning
ModuleNotFoundError: No module named ‘ruamel’
I have tried to reinstall ‘ruamel’ but failed.
Please help me and I will appreciate any advice you can give.
Can you try
pip install ruamel.yaml and then try running amset again.
If that works I will update the project requirements.
I have already tried it, but it doesn’t work.
(base) [email protected] ~ amset run -h Traceback (most recent call last): File "/opt/anaconda3/bin/amset", line 5, in <module> from amset.tools.cli import cli File "/opt/anaconda3/lib/python3.8/site-packages/amset/tools/cli.py", line 7, in <module> from ruamel.yaml.error import MantissaNoDotYAML1_1Warning ModuleNotFoundError: No module named 'ruamel' (base) [email protected] ~ pip install ruamel.yaml
Requirement already satisfied: ruamel.yaml in /opt/anaconda3/lib/python3.8/site-packages (0.15.87)
maybe you can try:
pip install --upgrade ruamel.yaml --ignore-installed ruamel.yaml
Open cli.py. Do “ruamel.yaml.error” → “ruamel_yaml.error”.
It may work.
Thanks a lot, I will try it later.
Thanks very much, I will try it later.
The problem was solved after I just upgraded pymatgen and its other dependencies. Thanks again for all the received advice and guidance.
Fantastic, I am glad your issue is solved.
It’s being bothering me for days,thanks a lot!!!