Unstructured-IO / Unstructured-IO/unstructured-inference
No matching distribution found for pywin32==306 unstructured-inference docker error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 209
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
I have installed the unstructured-inference by following command.
pip install unstructured-inference
And this package installed this (unstructured-inference==0.7.11)
Installing collected packages: pywin32, pytz, pyreadline3, mpmath, flatbuffers, antlr4-python3-runtime, urllib3, tzdata, typing-extensions, sympy, six, safetensors, regex, rapidfuzz, pyyaml, python-multipart, pypdfium2, pyparsing,
pycparser, protobuf, portalocker, pillow, packaging, numpy, networkx, MarkupSafe, kiwisolver, idna, humanfriendly, fsspec, fonttools, filelock, cycler, colorama, charset-normalizer, certifi, tqdm, scipy, requests, python-dateutil
, pytesseract, pdf2image, opencv-python, onnx, omegaconf, jinja2, contourpy, coloredlogs, cffi, torch, pandas, onnxruntime, matplotlib, iopath, huggingface-hub, cryptography, torchvision, tokenizers, pycocotools, pdfminer.six, transformers, timm, pdfplumber, layoutparser, effdet, unstructured-inference
And I have a docker file to build a docker image:
# Use the official Python 3.10 image as the base image
FROM python:3.10-slim
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements.txt file into the container
COPY requirements.txt /app/
# Install project dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the project code into the container
COPY . /app/
But this gives the following error:
#8 65.86 ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
#8 65.86 ERROR: No matching distribution found for pywin32==306
Contributor guide
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 with requirements.txt and the provided Python 3.10 Dockerfile, then reproduce the failure with the Docker image build and inspect the pywin32 dependency resolution. Determine why pywin32==306 has no compatible distribution in this image and confirm that the requirements install completes successfully without breaking the stated dependency set.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100