Skip to content

Python 3.13 dont have distutils #935

@senapk

Description

@senapk

Summary / 概要

Steps to reproduce / 再現方法

  1. Use python 3.13 with pip or pipx
  2. Install oj
  3. oj -v
  4. ModuleNotFoundError: No module named 'distutils'

Solution

  • distutils is no more a standalone package after python 3.12
  • His content is now inside setup tools
  • To fix the error, just add setuptools to package dependecies.

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