lesgourg / class_public

Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
218 stars 291 forks source link

Issue when importing classy in python #542

Open quasars100 opened 10 months ago

quasars100 commented 10 months ago

Hi,

Currently the CLASS-PT/classy repository compiles, but the following error appears when importing classy into python3 itself:

Python 3.10.13 (main, Aug 24 2023, 22:43:20) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import classy Traceback (most recent call last): File "", line 1, in ImportError: dlopen(/opt/homebrew/lib/python3.10/site-packages/classy-2.6.3-py3.10-macosx-12-arm64.egg/classy.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace 'zdotu'

Python version is 3.10.13, pip version 23.2.1, gcc version 13.10, environment is local (no virtualenv set up). Is there a way to solve this issue? Thank you.