Hi,
I am working on creating the Ayon Launcher for testing the pipeline based on the guide at ayon-launcher/docs/build_guides/windows.md at 5b3c65a32d4c2257b309501b87bd71f17340a4b2 · ynput/ayon-launcher · GitHub
Development Environment
Clean Windows 10 VM
Python 3.9.13, Git, Inno Setup, CMake & Visual Studio
I am able to clone the repo but when I try to execute the next command I am getting the following errors. Has anyone else also encountered something like this ? If yes are there any solutions / guides available ?
From Powershell
PS C:\ayon\ayon-launcher> ./tools/manage.ps1 create-env
▄██▄
▄███▄ ▀██▄ ▀██▀ ▄██▀ ▄██▀▀▀██▄ ▀███▄ █▄
▄▄ ▀██▄ ▀██▄ ▄██▀ ██▀ ▀██▄ ▄ ▀██▄ ███
▄██▀ ██▄ ▀ ▄▄ ▀ ██ ▄██ ███ ▀██▄ ███
▄██▀ ▀██▄ ██ ▀██▄ ▄██▀ ███ ▀██ ▀█▀
▄██▀ ▀██▄ ▀█ ▀██▄▄▄▄██▀ █▀ ▀██▄
· · - =[ by YNPUT ]:[ http://ayon.ynput.io ]= - · ·
Detecting host Python … OK [ 3.9 ]
Reading Poetry … NOT FOUND
Installing Poetry …
Retrieving Poetry metadata
Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the poetry
command to Poetry’s bin directory, located at:
C:\ayon\ayon-launcher.poetry\bin
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.3.2)
Installing Poetry (1.3.2): Creating environment
Installing Poetry (1.3.2): An error occurred. Removing partial environment.
Poetry installation failed.
See C:\ayon\ayon-launcher\poetry-installer-error-kgsk93_m.log for error logs.
INSTALLED
Installing virtual environment from lock.
& : The term ‘C:\ayon\ayon-launcher.poetry\bin\poetry’ is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At C:\ayon\ayon-launcher\tools\manage.ps1:274 char:7
-
& "$env:POETRY_HOME\bin\poetry" config virtualenvs.in-project tru ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ObjectNotFound: (C:\ayon\ayon-launcher.poetry\bin\poetry:String) , CommandNotFoundExc
eption - FullyQualifiedErrorId : CommandNotFoundException
- CategoryInfo : ObjectNotFound: (C:\ayon\ayon-launcher.poetry\bin\poetry:String) , CommandNotFoundExc
& : The term ‘C:\ayon\ayon-launcher.poetry\bin\poetry’ is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At C:\ayon\ayon-launcher\tools\manage.ps1:275 char:7
-
& "$env:POETRY_HOME\bin\poetry" config virtualenvs.create true -- ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ObjectNotFound: (C:\ayon\ayon-launcher.poetry\bin\poetry:String) , CommandNotFoundExc
eption - FullyQualifiedErrorId : CommandNotFoundException
- CategoryInfo : ObjectNotFound: (C:\ayon\ayon-launcher.poetry\bin\poetry:String) , CommandNotFoundExc
& : The term ‘C:\ayon\ayon-launcher.poetry\bin\poetry’ is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At C:\ayon\ayon-launcher\tools\manage.ps1:276 char:7
-
& "$env:POETRY_HOME\bin\poetry" install --no-root $poetry_verbosi ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ObjectNotFound: (C:\ayon\ayon-launcher.poetry\bin\poetry:String) , CommandNotFoundExc
eption - FullyQualifiedErrorId : CommandNotFoundException
- CategoryInfo : ObjectNotFound: (C:\ayon\ayon-launcher.poetry\bin\poetry:String) , CommandNotFoundExc
!!! Poetry command failed.