Skip to content

classy not working #640

@DinorahBarbosa

Description

@DinorahBarbosa

Hello,

I was trying to use class on my new env, with python 3.9 and I wanted to use classy, but it doesn't work even when I install it with pip

(py39forge) dinorah@dinorah:~/class_ide$ python
Python 3.9.23 | packaged by conda-forge | (main, Jun  4 2025, 17:57:12) 
[GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import classy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define module export function (PyInit_classy)

I noticed that for the README in the python folder it says classy should be used with python2, so I made a new env with python 2.7.18, but then I can't install classy there either because it doesn't work with setup.py or with pip install classy. I'm not sure what to do.

Best regards,

Dinorah

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions