0
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-包/请求':Permission denied错误setup.py而设立的请求包
的'requests'包已在'setup.py'没有这样的线路,也不依赖于任何有这样的'setup.py'。请向我们展示导致上述错误的完整日志和命令。 – 2014-08-27 11:09:22
该错误表明您正在尝试构建Python本身,而不是“请求”。该行似乎与Python 3.3.4相关。 – 2014-08-27 11:11:22
本网站上的相关步骤:http://docs.python-requests.org/en/latest/user/install/#install – user256378 2014-08-27 11:19:03