Intel scripts no longer with python3 as default python
Closed this issue · 2 comments
deepcoder commented
FYI...
'''
Setting it up.../tmp/tmp.f336iLg5Hu/relocate_sdk.sh /home/user/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0/i586/relocate_sdk.sh
File "/home/user/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0/i586/relocate_sdk.py", line 98
print "ERROR: could not relocate %s, interp size = %i and %i is needed." % (elf_file_name, p_memsz, len(new_dl_path) + 1)
^
SyntaxError: invalid syntax
SDK could not be set up. Relocate script failed. Abort!
'''
deepcoder commented
Seems if you reinstall python2 and they make following change, you can manually run
~/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0/i586/relocate_sdk.py
change
#!/usr/bin/env python
--to--
#!/usr/bin/env python2
# run
./install_script.sh
majenkotech commented
Nice find. Thanks.