错误设置.py设置请求包时

2024-09-29 21:54:55 发布

您现在位置:Python中文网/ 问答频道 /正文

Error:  File "setup.py", line 1849
    exec(f.read(), globals(), fficonfig)
    SyntaxError: unqualified exec is not allowed in function 'configure_ctypes' it contains a nested function with free variables

我以前很蠢,没有改变道路,现在却变得越来越低落 错误:无法创建“/usr/local/lib/python2.7/dist packages/requests”:权限被拒绝


Tags: pyreadissetuplinenotfunctionerror
2条回答

尝试以下操作:

# tar xzf Python-3.5.0.tgz    
# cd Python-3.5.0
# ./configure  prefix=/usr/local
# make altinstall

看来你没有得到许可。在

请对您键入的任何内容使用"sudo"命令

相关问题 更多 >

    热门问题