diff -Naur Python-3.7.0-orig/Lib/compileall.py Python-3.7.0/Lib/compileall.py --- Python-3.7.0-orig/Lib/compileall.py 2018-06-27 06:07:35.000000000 +0300 +++ Python-3.7.0/Lib/compileall.py 2018-07-12 10:22:02.322025500 +0300 @@ -40,6 +40,8 @@ if name == '__pycache__': continue fullname = os.path.join(dir, name) + if sys.platform == "win32" and sys.version.find("GCC") >= 0: + fullname = fullname.replace('\\','/') if ddir is not None: dfile = os.path.join(ddir, name) else: