Skip to content

Support for Python 3.12.3 #155

@jckitch

Description

@jckitch

I run into challenges installing space on my computer when using the newest version of Python (3.12.3). It seems to be related to the installation of pyproj version 3.4.1. pip runs into a compile error when it tries to install pyproj 3.4.1 in the Python 3.12 folder, entire error message attached below. The newest version of pyproj 3.6.1, the newest version, installs without any problems but can't be used by space which requires 3.4.1. The full error message is an attachment to this issue, an abbreviated message highlighting (potentially) the most important parts is below.

pip install "git+https://github.com/NSAPH-Projects/space@dev#egg=spacebench[all]"

...

Collecting pyproj==3.4.1 (from spacebench->spacebench[all])
  Using cached pyproj-3.4.1.tar.gz (217 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [46 lines of output]

...


File "/private/var/folders/m_/9x7trs3s09qgwc9t7pc8gtg80000gn/T/pip-build-env-gp_ws8xx/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: pyproj/_datadir.pyx
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

I also get this error when I try to install the "base" version of space, i.e. with pip install space bench[all].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions