oracle / oracle/oci-cli

install.sh fails with "ModuleNotFoundError: No module named 'distutils'"

Open
#968 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

Ubuntu 25.04 - python 3.13.3

Running install.sh as user and the default settings (paths), makes it fail with "ModuleNotFoundError: No module named 'distutils'".

Log is attached.

log.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with install.sh and the attached log, using the reported Ubuntu 25.04 and Python 3.13.3 environment to trace where the distutils import occurs. Confirm the installation completes with the default user paths without the ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.