We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17aee90 commit 1f695eeCopy full SHA for 1f695ee
runtime/support.py
@@ -300,7 +300,7 @@ def setup(import_roots, zip_safe):
300
warnings.warn('Failed to initialize .par file runtime support',
301
UserWarning)
302
return False
303
- if sys.path[0] != archive_path:
+ if os.path.abspath(sys.path[0]) != os.path.abspath(archive_path):
304
warnings.warn('Failed to initialize .par file runtime support. ' +
305
'archive_path was %r, sys.path was %r' % (
306
archive_path, sys.path),
0 commit comments