Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fatal Python error: init_fs_encoding in Alpine + Python 3.12 during Docker build #1053

Open
@Farinaz94

Description

I'm trying to build a Docker image using the following base images:

  • mundialis/actinia:alpine-dependencies-2024年12月14日
  • osgeo/grass-gis:releasebranch_8_4-alpine

Inside the Dockerfile, when I run this line:

RUN /usr/bin/python -m venv --system-site-packages --without-pip /opt/venv
I get the following error:
"Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
SyntaxError: source code string cannot contain null bytes"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /