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
I had been stupid in not changing the path and now getting aS under Error: could not create '/usr/local/lib/python2.7/dist-packages/requests': Permission denied
requestspackage has no such line in thesetup.py, nor does it depend on anything that has such asetup.py. Please show us the full log and commands that lead to the above error.requests. The line appears to correlate to Python 3.3.4.setup.pyfile (which has a customdistutilsbuilt_extcommand), and that command is being fed an incompatiblefficonfig.pyfile somewhere. Therequestsmodule has no such file. It has no extension build steps at all.pythoninto a virtual env. This is notrequeststhat does this.