cygwin使用Windows下的python

在cygwin下使用python:

安装cygwin,找到.bash_profile (在用户目录下 比如 C:\Cygwin\home\username\)

alias python="C:/ProgramData/Anaconda3/python.exe"
export python

运行时,

python C:/Users/Administrator/Desktop/1.py

参考1

安装GCC

安装git