1485 if not isSudo and isPipOutdated(): |
1485 if not isSudo and isPipOutdated(): |
1486 updatePip() |
1486 updatePip() |
1487 print("\n") |
1487 print("\n") |
1488 |
1488 |
1489 # perform dependency checks |
1489 # perform dependency checks |
1490 if sys.version_info < (3, 6, 0): |
1490 if sys.version_info < (3, 7, 0): |
1491 print('Sorry, you must have Python 3.6.0 or higher.') |
1491 print('Sorry, you must have Python 3.7.0 or higher.') |
1492 exit(5) |
1492 exit(5) |
1493 |
1493 |
1494 try: |
1494 try: |
1495 import xml.etree # __IGNORE_WARNING__ |
1495 import xml.etree # __IGNORE_WARNING__ |
1496 except ImportError: |
1496 except ImportError: |
1930 global installApis, doCleanDesktopLinks, yes2All |
1930 global installApis, doCleanDesktopLinks, yes2All |
1931 global createInstallInfoFile, installCwd |
1931 global createInstallInfoFile, installCwd |
1932 global ignorePyqt6Tools |
1932 global ignorePyqt6Tools |
1933 global verbose |
1933 global verbose |
1934 |
1934 |
1935 if sys.version_info < (3, 6, 0) or sys.version_info > (3, 99, 99): |
1935 if sys.version_info < (3, 7, 0) or sys.version_info > (3, 99, 99): |
1936 print('Sorry, eric requires at least Python 3.6 for running.') |
1936 print('Sorry, eric requires at least Python 3.7 for running.') |
1937 exit(5) |
1937 exit(5) |
1938 |
1938 |
1939 progName = os.path.basename(argv[0]) |
1939 progName = os.path.basename(argv[0]) |
1940 |
1940 |
1941 installCwd = os.getcwd() |
1941 installCwd = os.getcwd() |