Skip to content

Runtime error with Ogre #2

Description

@amritachattopadhyay

Hi Ogre developers,

I am interested in using Ogre 1.1 in my research. I have managed to download and install the software from https://www.noamarom.com/software/download/

However, when running Ogre using the command python runOgre.py --filename ogre.config
, I run into this error:

Traceback (most recent call last):
  File "runOgre.py", line 1, in <module>
    from ogre import generators
  File "/home/csxf83/ogre/Ogre-master/ogre/generators.py", line 3, in <module>
    from ogre.utils.utils import from_ASE_to_pymatgen
  File "/home/csxf83/ogre/Ogre-master/ogre/utils/__init__.py", line 4, in <module>
    from ogre.utils.surface_energy import convergence_plots
  File "/home/csxf83/ogre/Ogre-master/ogre/utils/surface_energy.py", line 13, in <module>
    from ibslib.io import read
  File "/home/csxf83/ogre/Ogre-master/ibslib/__init__.py", line 5, in <module>
    from .structure import *
  File "/home/csxf83/ogre/Ogre-master/ibslib/structure.py", line 15, in <module>
    from pymatgen import Lattice as LatticeP
  File "/nobackup/csxf83/miniconda3/envs/ogre/lib/python3.6/site-packages/pymatgen/__init__.py", line 5, in <module>
    import ruamel.yaml as yaml
  File "/nobackup/csxf83/miniconda3/envs/ogre/lib/python3.6/site-packages/ruamel/yaml/__init__.py", line 50, in <module>
    from .cyaml import *  # NOQA
  File "/nobackup/csxf83/miniconda3/envs/ogre/lib/python3.6/site-packages/ruamel/yaml/cyaml.py", line 3, in <module>
    from _ruamel_yaml import CParser, CEmitter  # type: ignore
  File "_ruamel_yaml.pyx", line 18, in init ruamel.yaml.clib._ruamel_yaml
  File "/nobackup/csxf83/miniconda3/envs/ogre/lib/python3.6/site-packages/ruamel/yaml/reader.py", line 25, in <module>
    from ruamel.yaml.util import RegExp
  File "/nobackup/csxf83/miniconda3/envs/ogre/lib/python3.6/site-packages/ruamel/yaml/util.py", line 13, in <module>
    from .compat import StreamTextType  # NOQA
  File "/nobackup/csxf83/miniconda3/envs/ogre/lib/python3.6/site-packages/ruamel/yaml/compat.py", line 3
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

Any help will be greatly appreciated, thank you very much.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions