Skip to content

llvmlite install fails on macOS setup #190

@neuiwadwalai-r

Description

@neuiwadwalai-r

I’m having trouble completing the CDL setup script on macOS. I ran the setup script (taken from lab manual):

curl -fsSL https://raw.githubusercontent.com/ContextLab/lab-manual/master/scripts/setup.sh | bash

I was able to get MacTeX and Miniconda installed. The cdl conda environment was also created and I could activate it. But the setup script still fails when installing Python packages. The main error seems to be:

ERROR: Failed building wheel for llvmlite
CondaEnvException: Pip failed

Inside the cdl environment, Python is: Python 3.11.15

When I test llvmlite, I get: ModuleNotFoundError: No module named 'llvmlite'

I also checked CMake, and it is installed. I previously also had to switch conda’s solver to classic because the setup failed with a libmamba solver error. Could someone advise how I should fix the llvmlite installation issue? Should I install a specific version through conda-forge, use a different Python version, or update the setup script/environment file in some way?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions