Closed brokedba closed 3 months ago
Might try this Go to -> "start" and type "Manage App Execution Aliases". Go to it and turn off "Python"
from this StackOverflow post and see how it goes
reinstalled python and still having the same issue
>python --version
Python 3.10.0
> where python
C:\Program Files\python\Python310\python.exe
C:\Users\User\AppData\Local\Microsoft\WindowsApps\python.exe
ok now it's working . I went back to "Manage App Execution Aliases" and enabled the alias for everything python ,
[debug]: Getting python version with command: python3 --version
[debug]: Raw output:
[debug]: Python 3.10.11
[debug]: Python version: 3.10.11
[debug]: Testing pip[3] installation with command: pip3 install --user -U -i https://pypi.org/simple/ checkov
[debug]: Location: c:\users\kosse\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages
[info]: Checkov installed successfully using pip3. {"checkovPath":"c:\\users\\user\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\\localcache\\local-packages\\python310\\Scripts\\checkov"}
[info]: Checkov installation: {"checkovInstallationMethod":"pip3","checkovPath":"c:\\users\\user\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\\localcache\\local-packages\\python310\\Scripts\\checkov"}
[debug]: Version command: c:\users\user\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\Scripts\checkov -v
[debug]: Response from version command: 3.2.90
[info]: Previously installed checkov version does not match the newly installed one. Clearing results cache.
[debug]: Clearing results cache
you can close it I guess , but I still don't know why it happened.
Python Version
Python 3.10
Checkov Installation Method
pip
CheckovPrismaless Version
1.0.107
VSCode Version
1.89.1
Operating System
Windows 10
Description of the Bug
Hi XargsUK, I don't now if it's related to the recent updates after issue I open weeks ago #2 but I started to have this error output whilefailing the update through pip python python 3 etc .
maybe It's on my side or because I updated VSCode today . but I wanted to share that anyway. Thank you
Steps to Reproduce
Update VSCODE