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

poetry problem #7

Open
DNNhost opened this issue May 22, 2021 · 2 comments
Open

poetry problem #7

DNNhost opened this issue May 22, 2021 · 2 comments

Comments

@DNNhost
Copy link

DNNhost commented May 22, 2021

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>

@johan-bjareholt
Copy link
Member

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
ActivityWatch/aw-watcher-afk#48

@ErikBjare
Copy link
Member

ErikBjare commented May 23, 2021

I think it's more likely this is caused by missing git in PATH, see: python-poetry/poetry#911

However, Windows support is broken right now (see #6), but I'm working on getting this fixed right now.

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

3 participants