Open DNNhost opened 3 years ago
Seems like some issue with the pypiwin32 dependency which comes from the dependency aw-watcher-afk. The following PR should fix it once merged, but unfortunately it's not https://github.com/ActivityWatch/aw-watcher-afk/pull/48
I think it's more likely this is caused by missing git in PATH, see: https://github.com/python-poetry/poetry/issues/911
However, Windows support is broken right now (see #6), but I'm working on getting this fixed right now.
Hi I have a problem installing, wonder if you could advice
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\veraw\Documents\GitHub\aw-watcher-input> python --version Python 3.9.5
PS C:\Users\veraw> poetry --version Poetry version 1.1.6
PS C:\Users\veraw> cd C:\Users\veraw\Documents\GitHub\aw-watcher-input PS C:\Users\veraw\Documents\GitHub\aw-watcher-input> poetry install Creating virtualenv aw-watcher-input-7c2LNXiY-py3.9 in C:\Users\veraw\AppData\Local\pypoetry\Cache\virtualenvs Installing dependencies from lock file
Package operations: 27 installs, 0 updates, 0 removals
• Installing attrs (20.3.0) • Installing pyrsistent (0.17.3) • Installing six (1.15.0) • Installing appdirs (1.4.4) • Installing certifi (2020.12.5) • Installing chardet (4.0.0) • Installing iso8601 (0.1.14) • Installing idna (2.10) • Installing jsonschema (3.2.0) • Installing peewee (3.14.4) • Installing python-json-logger (0.1.11) • Installing strict-rfc3339 (0.7) • Installing takethetime (0.3.1) • Installing timeslot (0.1.2) • Installing urllib3 (1.26.4) • Installing aw-core (0.5.0) • Installing click (7.1.2) • Installing pywin32 (300) • Installing requests (2.25.1) • Installing persist-queue (0.6.0) • Installing aw-client (0.5.0 2b18d1a) • Installing mypy-extensions (0.4.3) • Installing typed-ast (1.4.3) • Installing typing-extensions (3.7.4.3) • Installing pypiwin32 (223)
FileNotFoundError
[WinError 2] The system cannot find the file specified
at ~\AppData\Local\Programs\Python\Python39\lib\subprocess.py:1420 in _execute_child 1416│ sys.audit("subprocess.Popen", executable, args, cwd, env) 1417│ 1418│ # Start the process 1419│ try: → 1420│ hp, ht, pid, tid = _winapi.CreateProcess(executable, args, 1421│ # no special security 1422│ None, None, 1423│ int(not close_fds), 1424│ creationflags,
PS C:\Users\veraw\Documents\GitHub\aw-watcher-input> poetry install Installing dependencies from lock file
Package operations: 3 installs, 0 updates, 0 removals
• Installing aw-client (0.5.0 2b18d1a)
FileNotFoundError
[WinError 2] The system cannot find the file specified
at ~\AppData\Local\Programs\Python\Python39\lib\subprocess.py:1420 in _execute_child 1416│ sys.audit("subprocess.Popen", executable, args, cwd, env) 1417│ 1418│ # Start the process 1419│ try: → 1420│ hp, ht, pid, tid = _winapi.CreateProcess(executable, args, 1421│ # no special security 1422│ None, None, 1423│ int(not close_fds), 1424│ creationflags,
PS C:\Users\veraw\Documents\GitHub\aw-watcher-input>