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??
I solve it by myself
method as follow
when you run
tar -zxvf Python-2.7.x..../configure --prefix=...makeSTOP HERE, and find the file
fficonfig.py, change some texts as follow:and
save it, THEN
make insatallwill get success already, maybe there are some small errors, but you can run most file you need to run ...