indygreg / indygreg/PyOxidizer
Incompatibility with PIL ?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 256
- PR merge metrics
- No merged PRs in 30d
Description
Hey, using python 3.7 on mac and running build using a venv with all the dependencies installed.
The application runs fine using python and the venv but when I build with pyoxidizer and try opening it I get the following error:
Traceback (most recent call last):
File "app", line 4, in
File "face_recognition", line 7, in
File "face_recognition.api", line 3, in
File "PIL.Image", line 95, in
ImportError: cannot import name '_imaging' from 'PIL' (unknown location)
Does anyone have any suggestions on what I can try?
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
Start by reproducing the macOS Python 3.7 build with the reported virtual-environment dependencies and compare it with the working interpreter run. Trace the built application's import of face_recognition.api and PIL.Image, then verify that the packaged application can import PIL's _imaging component without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100