Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matching distribution found for pywin32==306 unstructured-inference docker error #283

Open
hasansustcse13 opened this issue Nov 8, 2023 · 1 comment

Comments

@hasansustcse13
Copy link

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
@yingmonster123
Copy link

I encountered this problem too. Have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants