python3.x - python3.5.2安装时make报错求助

查看:327
本文介绍了python3.x - python3.5.2安装时make报错求助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

python3.5.2版本安装时make步骤报错,报错信息如下:
/bin/mkdir -p Python
python ./Parser/asdl_c.py -c Python ./Parser/Python.asdl
Traceback (most recent call last):
File "./Parser/asdl_c.py", line 6, in <module>

import asdl

File "/FEX_DATA/PyDir/Python-3.5.2/Parser/asdl.py", line 36

builtin_types = {'identifier', 'string', 'bytes', 'int', 'object', 'singleton'}
                             ^

SyntaxError: invalid syntax
make: * [Python/Python-ast.c] Error 1

我安装了4台机器,其中2台出现该问题,另外两台安装正常。请问这个是什么引起的报错,要如何解决呢?非常感谢!

解决方案

自己找到解决方法了…不要将python放在NFS上,放在本地盘之后好了…

这篇关于python3.x - python3.5.2安装时make报错求助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆