Coder Social home page Coder Social logo

Comments (4)

sk-keeper avatar sk-keeper commented on August 16, 2024

I assume you use Windows distribution of Python (not Cygwin or MSYS one). Even Python interpreter does not work in this configuration for me. It does not hang, though, Ctrl+C works as expected just console input is broken.
Can you launch python in your bash session? Is it functional?

from commander.

matteius avatar matteius commented on August 16, 2024

Yes, I use Python just fine in the same environments, including can use virtualenv. I am migrating from using a different password manager that has a CLI that also worked. I am using Python from one of the Windows installers at: https://www.python.org/downloads/

Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 2+2 == 4
True
>>> exit()

from commander.

sk-keeper avatar sk-keeper commented on August 16, 2024

Git Bash MINGW64

$ python
bash: /c/Users/keeper/AppData/Local/Microsoft/WindowsApps/python: Permission denied

Git Bash, Keeper venv. No "Permission denied" error. No python prompt. Ctrl+C does not work (it used to work in MSYS2)

$ . PY/keeper/Scripts/activate
(keeper)
DESKTOP-BHD0EUO+keeper@DESKTOP-BHD0EUO MINGW64 ~
$ python

cmd.exe OK

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>python
Python 3.7.7 (tags/v3.7.7:d7c567b08f, Mar 10 2020, 11:52:54) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

from commander.

matteius avatar matteius commented on August 16, 2024

Seems like a host level permission issue if you are unable to launch python from Git Bash MINGW64 -- it hasn't been a problem on the few windows machines I've run on.

You are definitely correct that it works from within cmd.exe which I hadn't thought to try before, so its nice to know I have that option of using the CLI. Thanks!

from commander.

Related Issues (20)

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.