# Error Importing Gmsh

**URL:** <https://pyfr.discourse.group/t/error-importing-gmsh/1201>\
**Category:** Errors\
**Created:** [20 December 2024 05:52 UTC](https://pyfr.discourse.group/t/error-importing-gmsh/1201 "2024-12-20T05:52:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zach-Davis](https://yyz2.discourse-cdn.com/free1/user_avatar/pyfr.discourse.group/zach-davis/32/237_2.png) [@Zach-Davis](https://pyfr.discourse.group/u/Zach-Davis)\
**Post date:** [20 December 2024 05:52 UTC](https://pyfr.discourse.group/t/error-importing-gmsh/1201/1 "2024-12-20T05:52:16Z")

</div>

I pulled the latest changes from the develop branch locally and when attempting to import a Gmsh \*.msh file I get the following error:

```auto
Traceback (most recent call last):
  File "/home/zdavis/apps/pyfr/pyfr/pyfr", line 14, in <module>
    from pyfr.backends import BaseBackend, get_backend
  File "/home/zdavis/apps/pyfr/pyfr/backends/ __init__.py", line 1, in <module>
    from pyfr.backends.base import BaseBackend
  File "/home/zdavis/apps/pyfr/pyfr/backends/base/ __init__.py", line 7, in <module>
    from pyfr.backends.base.types import (ConstMatrix, Matrix, MatrixBase,
  File "/home/zdavis/apps/pyfr/pyfr/backends/base/types.py", line 6, in <module>
    from pyfr.mpiutil import autofree, get_comm_rank_root, mpi
  File "/home/zdavis/apps/pyfr/pyfr/mpiutil.py", line 202
    svals = dset[self.start:self.end, *didxs][self.sidx]
                                      ^
SyntaxError: invalid syntax

```

Is this an issue with my environment, or is there a syntax error that was introduced recently? Thanks!

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [20 December 2024 19:20 UTC](https://pyfr.discourse.group/t/error-importing-gmsh/1201/2 "2024-12-20T19:20:34Z")

</div>

I believe this syntax requires Python 3.11 or newer.

Regards, Freddie.
