1590 if not isSudo and isPipOutdated(): |
1590 if not isSudo and isPipOutdated(): |
1591 updatePip() |
1591 updatePip() |
1592 print("\n") |
1592 print("\n") |
1593 |
1593 |
1594 # perform dependency checks |
1594 # perform dependency checks |
1595 if sys.version_info < (3, 7, 0) or sys.version_info >= (3, 12, 0): |
1595 if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 12, 0): |
1596 print("Sorry, you must have Python 3.7.0 or higher, but less 3.12.0.") |
1596 print("Sorry, you must have Python 3.8.0 or higher, but less 3.12.0.") |
1597 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) |
1597 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) |
1598 exit(5) |
1598 exit(5) |
1599 |
1599 |
1600 try: |
1600 try: |
1601 import xml.etree # __IGNORE_WARNING__ |
1601 import xml.etree # __IGNORE_WARNING__ |
2183 global installApis, doCleanDesktopLinks, yes2All |
2183 global installApis, doCleanDesktopLinks, yes2All |
2184 global createInstallInfoFile, installCwd |
2184 global createInstallInfoFile, installCwd |
2185 global withPyqt6Tools |
2185 global withPyqt6Tools |
2186 global verbose |
2186 global verbose |
2187 |
2187 |
2188 if sys.version_info < (3, 7, 0) or sys.version_info > (3, 99, 99): |
2188 if sys.version_info < (3, 8, 0) or sys.version_info > (3, 99, 99): |
2189 print("Sorry, eric requires at least Python 3.7 for running.") |
2189 print("Sorry, eric requires at least Python 3.8 for running.") |
2190 exit(5) |
2190 exit(5) |
2191 |
2191 |
2192 progName = os.path.basename(argv[0]) |
2192 progName = os.path.basename(argv[0]) |
2193 |
2193 |
2194 installCwd = os.getcwd() |
2194 installCwd = os.getcwd() |