OS X 10.9.5, python 2.7.5, cocos2d-x 3.7
When I run setup.py I get the following:
Setting up cocos2d-x…
->Check environment variable COCOS_CONSOLE_ROOT
->Search for environment variable COCOS_CONSOLE_ROOT…
->COCOS_CONSOLE_ROOT not found
-> Add COCOS_CONSOLE_ROOT environment variable…
Traceback (most recent call last):
File “setup.py”, line 707, in
opts.ndk_root, opts.android_sdk_root, opts.ant_root)
File “setup.py”, line 665, in set_environment_variables
self.set_console_root()
File “setup.py”, line 473, in set_console_root
COCOS_CONSOLE_ROOT, cocos_consle_root)
File “setup.py”, line 206, in _set_environment_variable
ret = self._set_environment_variable_unix(key, value)
File “setup.py”, line 186, in _set_environment_variable_unix
shutil.copy(self.file_used_for_setup, self.backup_file)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py”, line 119, in copy
copyfile(src, dst)
File “/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py”, line 82, in copyfile
with open(src, ‘rb’) as fsrc:
IOError: [Errno 21] Is a directory: ‘/Users/macAdmin/.profile’