gplately icon indicating copy to clipboard operation
gplately copied to clipboard

Cannot `pip install .` with Python 3.13 (Windows)

Open jcannon-gplates opened this issue 8 months ago • 0 comments

There's no stripy wheel (for Python 3.13), and so pip tries to compile stripy from source but this fails on Windows (probably because I don't have fortran installed, so I get the error Compiler for language fortran for the build machine not found).

This might hit users that try to install with pip install gplately once GPlately 2.0 is released (if they don't have fortran installed).

I'm not sure the best approach to avoid that, other than for stripy to make a Python 3.13 PyPI package (although they also have NumPy 2.x issues to solve - see underworldcode/stripy#114).

One option is to put an upper limit on requires-python in pyproject.toml. Although I just tried that (with requires-python = ">=3.8,<3.13a0") and it didn't stop pip trying to compile stripy.

jcannon-gplates avatar Apr 16 '25 06:04 jcannon-gplates