indygreg / indygreg/PyOxidizer

No module named 'win32api' when importing win32com

Open
#442 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

I am trying to use Pyoxidizer to build a python program that tries to use the win32com module from pywin32. As soon as I try to `import win32com` I get the following error:

> No module named 'win32api'

Is this there a way to fix this problem?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the `import win32com` failure in a PyOxidizer-built Python program on Windows, then inspect how PyOxidizer handles pywin32's `win32api` dependency. Done means the packaged program imports `win32com` without the reported missing-module error.

Written by the indexing model from the issue text.

Assessment

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