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

猜你喜欢

转载自www.cnblogs.com/andy-0212/p/10016150.html