python3.x - python3.5.2安装时make报错求助
伊谢尔伦
伊谢尔伦 2017-04-18 10:22:49
0
1
862

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台出现该问题,另外两台安装正常。请问这个是什么引起的报错,要如何解决呢?非常感谢!

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
左手右手慢动作

I found the solution myself...Don't put python on NFS, put it on the local disk...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!