Skip to content

源码(开发者专属安装)只能用于Windows吗 #45

Description

@oracleyue

我执行python main.py收到如下,看起来源码的包限制在了win下?谢谢哪

Traceback (most recent call last):
  File "/Users/xxx/Programs/vocotype-cli/main.py", line 12, in <module>
    from app import HotkeyManager, TranscriptionResult, TranscriptionWorker, load_config, type_text
  File "/Users/xxx/Programs/vocotype-cli/app/__init__.py", line 7, in <module>
    from .output import type_text
  File "/Users/xxx/Programs/vocotype-cli/app/output.py", line 12, in <module>
    SendInput = ctypes.windll.user32.SendInput
                ^^^^^^^^^^^^^
AttributeError: module 'ctypes' has no attribute 'windll'

我的安装环境:

macos: 15.3
python: 3.12.9
llvmlite: 0.47.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions