Giter Site home page Giter Site logo

Comments (3)

brokedba avatar brokedba commented on July 20, 2024

Might try this
Go to -> "start" and type "Manage App Execution Aliases". Go to it and turn off "Python"
image

from this StackOverflow post
and see how it goes

from checkov-prismaless-vscode.

brokedba avatar brokedba commented on July 20, 2024

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 

from checkov-prismaless-vscode.

brokedba avatar brokedba commented on July 20, 2024

ok now it's working . I went back to "Manage App Execution Aliases" and enabled the alias for everything python ,
image

[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 

image

you can close it I guess , but I still don't know why it happened.

from checkov-prismaless-vscode.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.