AirtestProject / AirtestProject/Airtest

Cannot install pocoui by using poetry on macOS

Offen
#986 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
9.6k
Forks
1.5k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Describe the bug**
Cannot install pocoui by using poetry

```
➜ poetry-demo poetry add pocoui
Creating virtualenv poetry-demo-ZKg_bqkG-py3.8 in /Users/trevorwang/Library/Caches/pypoetry/virtualenvs
Using version ^1.0.84 for pocoui

Updating dependencies
Resolving dependencies... (13.5s)

Writing lock file

Package operations: 26 installs, 0 updates, 0 removals

• Installing certifi (2021.10.8)
• Installing charset-normalizer (2.0.7)
• Installing decorator (5.1.0)
• Installing idna (3.3)
• Installing py (1.11.0)
• Installing urllib3 (1.26.7)
• Installing wrapt (1.13.3)
• Installing cached-property (1.5.2)
• Installing comtypes (1.1.10)
• Installing deprecated (1.2.13)
• Installing markupsafe (2.0.1)
• Installing numpy (1.19.3)
• Installing pillow (8.4.0)
• Installing requests (2.26.0)
• Installing retry (0.9.2)
• Installing six (1.16.0)
• Installing facebook-wda (1.4.3)
• Installing jinja2 (3.0.3)
• Installing mss (4.0.3)
• Installing opencv-contrib-python (4.5.2.54)
• Installing pywin32 (302): Failed

RuntimeError

Unable to find installation candidates for pywin32 (302)

at ~/.pyenv/versions/3.8-dev/lib/python3.8/site-packages/poetry/installation/chooser.py:72 in choose_for
68│
69│ links.append(link)
70│
71│ if not links:
→ 72│ raise RuntimeError(
73│ "Unable to find installation candidates for {}".format(package)
74│ )
75│
76│ # Get the best link

• Installing pywinauto (0.6.3)

Failed to add packages, reverting the pyproject.toml file to its original content.
```

**To Reproduce**
Steps to reproduce the behavior:
poetry install pocoui in terminal on macOS

**Expected behavior**
pocoui & airtest can be installed.
**Screenshots**
If applicable, add screenshots to help explain your problem.

**python version:** `python3.8`

**pocoui version:** `1.0.84`

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.