indygreg / indygreg/PyOxidizer
Cannot import readline in the macos distribution
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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