indygreg / indygreg/PyOxidizer

Cannot import readline in the macos distribution

Open
#526 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

Cannot import the readline module in the macos distribution.

$ pyoxidizer init-config-file pyapp
$ cd pyapp
$ pyoxidizer run
>>> import readline
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'readline'

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the issue with the shown pyoxidizer init-config-file, cd, and pyoxidizer run commands, then inspect how the macOS distribution discovers and bundles Python standard-library modules. Done means the resulting distribution can execute import readline without ModuleNotFoundError; add or update a focused regression test if the relevant test location is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python, rust
Domain
build-system, cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.