Git Product home page Git Product logo

Comments (6)

MichaelAquilina avatar MichaelAquilina commented on May 26, 2024

Thankyou for posting this issue. I dont have a windows machine on me right now which makes this difficult to test, but I will try install a trial version of windows on a virtual machine when I can. What versio of windows is it that you are using?

from python-tools.

kbrose avatar kbrose commented on May 26, 2024

The location /usr/bin/ in Cygwin actually resides in PATH_TO_CYGWIN_INSTALLATION\usr\bin\, for example, in C:\cygwin64\usr\bin\. Have you tried pointing there?

from python-tools.

stari4ek avatar stari4ek commented on May 26, 2024

@kbrose, btw '/usr/bin' is dynamically mounted to the folder with cygwin dll. On my system it's c:\dev
cygwin\bin
"python" is cygwin symlink to "Python27.exe" and it can't be used outside of cygwin.

$ ls -la /usr/bin/python*
lrwxrwxrwx 1 /usr/bin/python -> python2.7.exe
lrwxrwxrwx 1 /usr/bin/python2 -> python2.7.exe
-rwxr-xr-x 1 /usr/bin/python2.7.exe
-rwxr-xr-x 1 /usr/bin/python2.7-config
lrwxrwxrwx 1 /usr/bin/python2-config -> python2.7-config
lrwxrwxrwx 1 /usr/bin/python-config -> python2.7-config

So, it won't find working Python in /usr/bin cause it looks for "python" executable, not "python2.7"

Probably it's better to configure path to executable instead of folder, as it's done for example in PyCharm

from python-tools.

stari4ek avatar stari4ek commented on May 26, 2024

Just for note,

  1. Windows (native) executable of Python is installed as c:\Python27\python.exe
  2. Cygwin executable is c:\cygwin\bin\python2.7.exe

so, it won't be in PATH if you're looking for "python"

from python-tools.

kbrose avatar kbrose commented on May 26, 2024

Ahh. I've not used cygwin for anything more advanced than getting the UNIX command line tools I'm used to so I haven't really looked to see how it was building out its file system.

from python-tools.

4parthy avatar 4parthy commented on May 26, 2024

$ cp /usr/bin/python2.7.exe /usr/bin/python.exe
Set path to python directory to "C:\cygwin\bin"

from python-tools.

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.