Skip to content

pip install klayout doesn't seem to work on M1 MacBookPro #1040

@Crostiphex

Description

@Crostiphex

Hi Klayout team,

First of all thanks for making this software, you're all fantastic and I appreciate your patience. This is the first issue I've ever made, so I hope I get the situation right. Running MacBook Pro (14-inch, 2021) version 12.3 (21E230).
Using pyenv I have python 3.10.2 installed with the latest version of pip.
I want to use the klayout module, but I can't install it with pip install klayout. I've also tried to download the source distribution, went to that folder, and ran pip install . with no difference.

It seems like pip tries to make a wheel, fails, runs setup.py, and fails there too. What's clear to me is that there are some missing files and many clang errors. The terminal output is incredibly long and exceeds the maximum character limit for github's issues. Please see attached for the output:
Full Terminal Ouput.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions