Giter Site home page Giter Site logo

Comments (3)

XargsUK avatar XargsUK commented on July 20, 2024 1

Hi @brokedba! Updated so that if python3 fails, and OS=Windows, then it will attempt to use python. If you continue to have issues, feel free to reply to this to reopen.

Thanks again!

from checkov-prismaless-vscode.

XargsUK avatar XargsUK commented on July 20, 2024

@brokedba Thanks for submitting! Admittedly using WSL for this, though I do have Python installed on Windows.

Currently in a branch, though I've updated the verifyPythonVersion to use python --version on Windows, and python3 on other OSes. I'm going to try to replicate the issue later today.

One approach to this issue I've seen, specifically in the Ansible extension, is to allow users to specify the python environment directory and python executable location within the extension configuration:

image

I do like this approach. Will look into implementing in the future. One thing though that I have found extremely useful when handling Python package installations which include executables is to use pipx, as it builds the venv automatically, so the only requirement then is to include the pipx directories in the PATH.

from checkov-prismaless-vscode.

brokedba avatar brokedba commented on July 20, 2024

@XargsUK , nah all good Brad , your fix is settles it. thanks for the speedy response.
Appreciate your work ! and yea pipx seems perfect here.
will spread the word for sure ! dope extension
#happyeaster

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.