Skip to content

Update start script for windows, is functional right now!#10

Merged
tutosrive merged 1 commit intomainfrom
develop
Aug 6, 2025
Merged

Update start script for windows, is functional right now!#10
tutosrive merged 1 commit intomainfrom
develop

Conversation

@tutosrive
Copy link
Member

The output is:

When the environment not exists (Will be create and install all requirements)
D:\GITHUB\ORGs\Dev2Forge\C#\InitVenv\bin\Release\net8.0\win-x64\publish>InitVenv.exe C:\Users\santi\Escritorio\tests
---------
Init-Venv (C) 2025 - Dev2Forge
All Rights Reserved.
---------

[ INFO ] Try executing command: "where python"
[ OUT ] D:\Program Files (x86)\Python\3.13.6\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Programs\Python\Python312\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Microsoft\WindowsApps\python.exe
[ INFO ] Operation successfully!
The virtual venv exists? => False
[ INFO ] Try executing command: "python -m venv .venv"
[ INFO ] Operation successfully!
[ INFO ] Try executing command: "where pip"
[ OUT ] D:\Program Files (x86)\Python\3.13.6\Scripts\pip.exe
[ OUT ] D:\Program Files (x86)\Python\3.13.3\Scripts\pip.exe
[ OUT ] C:\Users\santi\AppData\Local\Programs\Python\Python312\Scripts\pip.exe
[ INFO ] Operation successfully!
[ INFO ] Try executing command: "cd /d C:/Users/santi/Escritorio/tests && .venv\Scripts\activate && pip install -r requirements.txt"
[ OUT ] Collecting chromologger (from -r requirements.txt (line 1))
[ OUT ] Using cached chromologger-0.1.9.post2-py3-none-any.whl.metadata (5.4 kB)
[ OUT ] Collecting chromolog==0.2.5 (from chromologger->-r requirements.txt (line 1))
[ OUT ] Using cached chromolog-0.2.5-py3-none-any.whl.metadata (5.7 kB)
[ OUT ] Collecting colorama==0.4.6 (from chromolog==0.2.5->chromologger->-r requirements.txt (line 1))
[ OUT ] Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
[ OUT ] Using cached chromologger-0.1.9.post2-py3-none-any.whl (8.1 kB)
[ OUT ] Using cached chromolog-0.2.5-py3-none-any.whl (6.1 kB)
[ OUT ] Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
[ OUT ] Installing collected packages: colorama, chromolog, chromologger
[ OUT ] Successfully installed chromolog-0.2.5 chromologger-0.1.9.post2 colorama-0.4.6
[ INFO ] Operation successfully!
[ INFO ] Try executing command: "where python"
[ OUT ] D:\Program Files (x86)\Python\3.13.6\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Programs\Python\Python312\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Microsoft\WindowsApps\python.exe
[ INFO ] Operation successfully!
[ INFO ] Try executing command: ".venv\Scripts\activate"
[ INFO ] Command executed with shell (output not captured)
Program exit Sucessfully!
Press ENTER to close...

When the environment exists (check that the requirements are OK)

The colorama requirement is missing!

D:\GITHUB\ORGs\Dev2Forge\C#\InitVenv\bin\Release\net8.0\win-x64\publish>InitVenv.exe C:\Users\santi\Escritorio\tests
---------
Init-Venv (C) 2025 - Dev2Forge
All Rights Reserved.
---------

[ INFO ] Try executing command: "where python"
[ OUT ] D:\Program Files (x86)\Python\3.13.6\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Programs\Python\Python312\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Microsoft\WindowsApps\python.exe
[ INFO ] Operation successfully!
The virtual venv exists? => True
[ INFO ] Try executing command: "where pip"
[ OUT ] D:\Program Files (x86)\Python\3.13.6\Scripts\pip.exe
[ OUT ] D:\Program Files (x86)\Python\3.13.3\Scripts\pip.exe
[ OUT ] C:\Users\santi\AppData\Local\Programs\Python\Python312\Scripts\pip.exe
[ INFO ] Operation successfully!
[ INFO ] Try executing command: "cd /d C:/Users/santi/Escritorio/tests && .venv\Scripts\activate && pip check"
[ OUT ] chromolog 0.2.5 requires colorama, which is not installed.
[ WARN ] Completed with errors (Exit Code: 1)
Req are installed? => False
[ INFO ] Try executing command: "cd /d C:/Users/santi/Escritorio/tests && .venv\Scripts\activate && pip install -r requirements.txt"
[ OUT ] Requirement already satisfied: chromologger in c:\users\santi\escritorio\tests.venv\lib\site-packages (from -r requirements.txt (line 1)) (0.1.9.post2)
[ OUT ] Requirement already satisfied: chromolog==0.2.5 in c:\users\santi\escritorio\tests.venv\lib\site-packages (from chromologger->-r requirements.txt (line 1)) (0.2.5)
[ OUT ] Collecting colorama==0.4.6 (from chromolog==0.2.5->chromologger->-r requirements.txt (line 1))
[ OUT ] Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
[ OUT ] Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
[ OUT ] Installing collected packages: colorama
[ OUT ] Successfully installed colorama-0.4.6
[ INFO ] Operation successfully!
[ INFO ] Try executing command: "where python"
[ OUT ] D:\Program Files (x86)\Python\3.13.6\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Programs\Python\Python312\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Microsoft\WindowsApps\python.exe
[ INFO ] Operation successfully!
[ INFO ] Try executing command: ".venv\Scripts\activate"
[ INFO ] Command executed with shell (output not captured)
Program exit Sucessfully!
Press ENTER to close...

When the environment exists (All requirements are OK)
D:\GITHUB\ORGs\Dev2Forge\C#\InitVenv\bin\Release\net8.0\win-x64\publish>InitVenv.exe C:\Users\santi\Escritorio\tests
---------
Init-Venv (C) 2025 - Dev2Forge
All Rights Reserved.
---------

[ INFO ] Try executing command: "where python"
[ OUT ] D:\Program Files (x86)\Python\3.13.6\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Programs\Python\Python312\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Microsoft\WindowsApps\python.exe
[ INFO ] Operation successfully!
The virtual venv exists? => True
[ INFO ] Try executing command: "where pip"
[ OUT ] D:\Program Files (x86)\Python\3.13.6\Scripts\pip.exe
[ OUT ] D:\Program Files (x86)\Python\3.13.3\Scripts\pip.exe
[ OUT ] C:\Users\santi\AppData\Local\Programs\Python\Python312\Scripts\pip.exe
[ INFO ] Operation successfully!
[ INFO ] Try executing command: "cd /d C:/Users/santi/Escritorio/tests && .venv\Scripts\activate && pip check"
[ OUT ] No broken requirements found.
[ INFO ] Operation successfully!
Req are installed? => True
[ INFO ] Try executing command: "where python"
[ OUT ] D:\Program Files (x86)\Python\3.13.6\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Programs\Python\Python312\python.exe
[ OUT ] C:\Users\santi\AppData\Local\Microsoft\WindowsApps\python.exe
[ INFO ] Operation successfully!
[ INFO ] Try executing command: ".venv\Scripts\activate"
[ INFO ] Command executed with shell (output not captured)
Program exit Sucessfully!
Press ENTER to close...

@tutosrive tutosrive merged commit a2d884e into main Aug 6, 2025
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

Successfully merging this pull request may close these issues.

1 participant