centos安装python3.7时configure配置报错问题,

使用的centos7.5,自带的python2.7,想升级到3.7,安装过程中到了./configure这一步出现:configure: error: working directory cannot be determined
网上的方法都试了不行,环境都安装了,/usr/local/python3.7这个文件夹也给了777权限,希望大神指点下

图片说明

https://www.cnblogs.com/supershuai/p/12322885.html