AirtestProject / AirtestProject/Airtest

Cannot install pocoui by using poetry on macOS

Đang mở
#986 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
9.6k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.