Closed stu105502 closed 4 years ago
find_spec was introduced in python3.4. Consequently, this code can not be used with python2.7 and yarp#pyexe2 is not able to be executed appropriately. I suggest a complete avoidance of 'find module'-functions because they seem to have the tendency of being changed quite often. (See https://stackoverflow.com/questions/51491793/utility-to-check-imports-in-python-without-running-the-code-python2-7). For long-term use I suggest a simple try/except block.
find_spec was introduced in python3.4. Consequently, this code can not be used with python2.7 and yarp#pyexe2 is not able to be executed appropriately. I suggest a complete avoidance of 'find module'-functions because they seem to have the tendency of being changed quite often. (See https://stackoverflow.com/questions/51491793/utility-to-check-imports-in-python-without-running-the-code-python2-7). For long-term use I suggest a simple try/except block.