Skip to content

[0.23] Spack load cython does not load cython #34

@lucaparisi91

Description

@lucaparisi91

This can happen when there is a mismatch between the version of python used and the one of cray-python ( currently 3.9.13.1 ) . This is because the packages.yaml does not specify the python version to be used with cray version of cython ( 3.9.13.1 ).

Solution is to specify the version in the config , as in the example below

packages:
  py-cython:
    externals:
     - spec: py-cython@0.29.28 ^python@3.9.13.1
    
       prefix:  /opt/cray/pe/python/3.9.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions