4 years ago, I using apt-cyg
can install Python2.7.x directly, successfully, without any error
But now, I can’t find Python2 in cygwin list
so I try to through complipe source on cygwin, and get failed
I also try to through complipe source on WSL2, then copy some dir to cygwin, and try to make install
in the copyed dir, and get failed again
… why … Is it because some key packages are missing? (I install gcc, make, cmake, wget, …)
What is the correct way to install it??
2
Answers
I solve it by myself
method as follow
when you run
tar -zxvf Python-2.7.x...
./configure --prefix=...
make
STOP HERE, and find the file
fficonfig.py
, change some texts as follow:and
save it, THEN
make insatall
will get success already, maybe there are some small errors, but you can run most file you need to run ...
Python 2.7 was removed from Cygwin on Last July
https://cygwin.com/pipermail/cygwin-announce/2023-July/011186.html
If you really want you can install it using the Cygwin Time Machine
http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html
Considering that python 2.7 is ancient and discontinued upstream, you should move to a less obsolete version