Skip To Main Content
Support Knowledge Base

[Gramine] GSC Build Failed in Debian* 12 and Ubuntu* 23.04

Content Type: Install & Setup   |   Article ID: 000095707   |   Last Reviewed: 07/18/2023

Environment

Operating System

Other Linux family*

Description

Received the following error when building Gramine with Ubuntu* 23.04: error: externally-managed-environment when pip install 'tomli>=1.1.0' 'tomli-w>=0.4.0' 'meson>=0.56'

Debian* 12 & Ubuntu* 23.04 has adopted PEP668 (PEP = Python Enhancement Proposal), marking the Python* base environments as externally managed, and no longer allowing regular pip install usage for both user and system installations.

Resolution

Debian* 12 & Ubuntu* 23.04 are not officially supported in Gramine. The currently supported distros are:

  • Ubuntu*:18.04, Ubuntu*:20.04, Ubuntu*:21.04
  • Debian*:10, Debian*:11
  • Centos*:8

Additional information

Refer to this Link for more information.

Related Products

This article applies to 2 products.