-
Notifications
You must be signed in to change notification settings - Fork 107
Description
i build a zip file with shiv named 'hello.zip', but it is too large (2.2GB) that the original method 'python hello.zip' report error: no module name main, i find associated issues and understand it is a python bug. then i want to unzip this zip myself and i get files like
--bootstrap
--site-packages
--main.py
--environment.json
when i run python main.py, its reports error:
Traceback (most recent call last):
File "D:\env\test_code\hello-world\hellonew_main.py", line 3, in
bootstrap.bootstrap()
File "D:\env\test_code\hello-world\hellonew_bootstrap_init.py", line 196, in bootstrap
env = Environment.from_json(archive.read("environment.json").decode())
AttributeError: 'NoneType' object has no attribute 'read'
any suggestions? i use win10 with python3.10.11 as the runtime env.