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

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

Environment

Other Linux family*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Debian* 12 and Ubuntu* 23.04 are not officially supported in Gramine

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