realpython / realpython/materials

No module named 'pybind11_example'

Open
#117 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
5.2k
Forks
5.3k
Avg merge
4d 10h
Merged PRs (30d)
10

Description

Hello,

I think this is an easy error but I can't solve it.
When i run invoke test-pybind11 I obtain

You indicated pty=True, but your platform doesn't support the 'pty' module!

I change this to pty = sys.platform != 'win32' but I obtain
No module named 'pybind11_example'

Thank you for your help,

Florent

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

Start with the invoke test-pybind11 task and the pybind11_example import referenced in the report. Reproduce both errors on Windows and inspect the task's setup and build inputs; done means the example test runs without the missing-module or unsupported-PTY error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.