Microsoft Windows [版本 10.0.19045.6216]
(c) Microsoft Corporation。保留所有权利。
C:\Users\Administrator>CD C:\Users\Administrator\Desktop\VideoSteganography
C:\Users\Administrator\Desktop\VideoSteganography>python build_app.py
2025-08-23 00:43:00,801 - INFO - ============================================================
2025-08-23 00:43:00,801 - INFO - 视频隐写术应用程序打包脚本
2025-08-23 00:43:00,802 - INFO - ============================================================
2025-08-23 00:43:00,809 - INFO - 尝试 1/3: 删除现有虚拟环境...
2025-08-23 00:43:02,895 - INFO - 尝试 1/3: 创建虚拟环境...
2025-08-23 00:43:05,429 - INFO - 虚拟环境创建成功: venv\Scripts\python.exe
2025-08-23 00:43:05,430 - INFO - 升级pip...
2025-08-23 00:43:06,982 - INFO - pip升级成功
2025-08-23 00:43:06,982 - INFO - 安装项目依赖...
2025-08-23 00:43:08,610 - ERROR - 安装依赖失败: 1
2025-08-23 00:43:08,611 - ERROR - 错误输出:
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting pyinstaller==6.2.0 (from -r requirements.txt (line 1))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a8/44/ddbc0b6c75599793ec5853adbd418e5401ceb0933d4a0e523b93e4b79a0a/pyinstaller-6.2.0-py3-none-win_amd64.whl (1.3 MB)
---------------------------------------- 1.3/1.3 MB 16.2 MB/s 0:00:00
Collecting opencv-python-headless<4.9.0,>=4.8.0 (from -r requirements.txt (line 2))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e3/10/31b27a7473043eb5317f698ede00e7e129b2de378903bfe0bb4d785a7baf/opencv_python_headless-4.8.1.78-cp37-abi3-win_amd64.whl (38.0 MB)
---------------------------------------- 38.0/38.0 MB 80.6 MB/s 0:00:00
Collecting numpy==1.24.3 (from -r requirements.txt (line 3))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/65/5d/46da284b0bf6cfbf04082c3c5e84399664d69e41c11a33587ad49b0c64e5/numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB)
Collecting imageio==2.31.1 (from -r requirements.txt (line 4))
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c7/b0/7b6c35b8636ed773325cdb6f5ac3cd36afba63d99e20ed59c521cf5018b4/imageio-2.31.1-py3-none-any.whl (313 kB)
Collecting imageio-ffmpeg==0.4.9 (from -r requirements.txt (line 5))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c6/01/716106099e48c4f419876d5814679a94dd7d6f441217c97c1b608123c6bb/imageio_ffmpeg-0.4.9-py3-none-win_amd64.whl (22.6 MB)
Collecting pydub==0.25.1 (from -r requirements.txt (line 6))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a6/53/d78dc063216e62fc55f6b2eebb447f6a4b0a59f55c8406376f76bf959b08/pydub-0.25.1-py2.py3-none-any.whl (32 kB)
ERROR: Ignored the following yanked versions: 3.23.3, 3.23.4, 3.24.1, 3.24.2, 3.24.3, 3.24.4, 3.24.5
ERROR: Ignored the following versions that require a different python version: 2.3.0 Requires-Python >=3.11; 2.3.1 Requires-Python >=3.11; 2.3.2 Requires-Python >=3.11
ERROR: Could not find a version that satisfies the requirement tkinterweb==3.14.0 (from versions: 2.1.8, 2.2.1, 3.0.0, 3.2.0, 3.3.1, 3.3.2, 3.3.4, 3.4.1, 3.4.2, 3.5.0, 3.8.0, 3.8.1, 3.9.0, 3.9.1, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 3.9.10, 3.9.11, 3.9.14, 3.10.2, 3.10.3, 3.10.4, 3.10.5, 3.10.6, 3.10.7, 3.11.4, 3.12.1, 3.12.2, 3.13.1, 3.13.2, 3.14.1, 3.14.2, 3.14.3, 3.14.5, 3.14.6, 3.15.1, 3.15.2, 3.15.4, 3.15.5, 3.15.6, 3.16.1, 3.17.1, 3.17.2, 3.17.3, 3.17.4, 3.17.5, 3.17.7, 3.18.2, 3.18.5, 3.18.6, 3.18.7, 3.18.8, 3.18.9, 3.18.10, 3.18.12, 3.18.14, 3.19.2, 3.20.1, 3.20.2, 3.21.0, 3.21.1, 3.22.1, 3.23.2, 3.23.5, 3.23.7, 3.23.8, 3.23.9, 3.23.10, 3.24.6, 3.24.7, 3.24.8, 3.24.9, 3.24.10, 3.24.12, 3.24.13, 3.24.14, 3.24.15, 3.25.1, 3.25.2, 3.25.3, 3.25.4, 3.25.5, 3.25.6, 3.25.7, 3.25.8, 3.25.10, 3.25.11, 3.25.12, 3.25.13, 3.25.14, 3.25.15, 3.25.16, 3.25.17, 3.25.18, 3.25.19, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.2.0, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4)
ERROR: No matching distribution found for tkinterweb==3.14.0
2025-08-23 00:43:08,612 - INFO - 尝试使用官方PyPI源安装依赖...
2025-08-23 00:43:28,041 - ERROR - 官方源安装也失败: 1
2025-08-23 00:43:28,041 - ERROR - 错误输出:
Collecting pyinstaller==6.2.0 (from -r requirements.txt (line 1))
Downloading pyinstaller-6.2.0-py3-none-win_amd64.whl.metadata (8.3 kB)
Collecting opencv-python-headless<4.9.0,>=4.8.0 (from -r requirements.txt (line 2))
Downloading opencv_python_headless-4.8.1.78-cp37-abi3-win_amd64.whl.metadata (20 kB)
Collecting numpy==1.24.3 (from -r requirements.txt (line 3))
Using cached numpy-1.24.3-cp310-cp310-win_amd64.whl.metadata (5.6 kB)
Collecting imageio==2.31.1 (from -r requirements.txt (line 4))
Downloading imageio-2.31.1-py3-none-any.whl.metadata (4.7 kB)
Collecting imageio-ffmpeg==0.4.9 (from -r requirements.txt (line 5))
Downloading imageio_ffmpeg-0.4.9-py3-none-win_amd64.whl.metadata (1.7 kB)
Collecting pydub==0.25.1 (from -r requirements.txt (line 6))
Using cached pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)
ERROR: Ignored the following yanked versions: 3.23.3, 3.23.4, 3.24.1, 3.24.2, 3.24.3, 3.24.4, 3.24.5
ERROR: Ignored the following versions that require a different python version: 2.3.0 Requires-Python >=3.11; 2.3.1 Requires-Python >=3.11; 2.3.2 Requires-Python >=3.11
ERROR: Could not find a version that satisfies the requirement tkinterweb==3.14.0 (from versions: 2.1.8, 2.2.1, 3.0.0, 3.2.0, 3.3.1, 3.3.2, 3.3.4, 3.4.1, 3.4.2, 3.5.0, 3.8.0, 3.8.1, 3.9.0, 3.9.1, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 3.9.10, 3.9.11, 3.9.14, 3.10.2, 3.10.3, 3.10.4, 3.10.5, 3.10.6, 3.10.7, 3.11.4, 3.12.1, 3.12.2, 3.13.1, 3.13.2, 3.14.1, 3.14.2, 3.14.3, 3.14.5, 3.14.6, 3.15.1, 3.15.2, 3.15.4, 3.15.5, 3.15.6, 3.16.1, 3.17.1, 3.17.2, 3.17.3, 3.17.4, 3.17.5, 3.17.7, 3.18.2, 3.18.5, 3.18.6, 3.18.7, 3.18.8, 3.18.9, 3.18.10, 3.18.12, 3.18.14, 3.19.2, 3.20.1, 3.20.2, 3.21.0, 3.21.1, 3.22.1, 3.23.2, 3.23.5, 3.23.7, 3.23.8, 3.23.9, 3.23.10, 3.24.6, 3.24.7, 3.24.8, 3.24.9, 3.24.10, 3.24.12, 3.24.13, 3.24.14, 3.24.15, 3.25.1, 3.25.2, 3.25.3, 3.25.4, 3.25.5, 3.25.6, 3.25.7, 3.25.8, 3.25.10, 3.25.11, 3.25.12, 3.25.13, 3.25.14, 3.25.15, 3.25.16, 3.25.17, 3.25.18, 3.25.19, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.2.0, 4.3.0, 4.3.1, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4)
ERROR: No matching distribution found for tkinterweb==3.14.0
2025-08-23 00:43:28,043 - INFO - 尝试使用opencv-python替代headless版本...
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\VideoSteganography\build_app.py", line 117, in install_dependencies
subprocess.run(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['venv\\Scripts\\python.exe', '-m', 'pip', 'install', '-r', 'requirements.txt']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\VideoSteganography\build_app.py", line 154, in install_dependencies
subprocess.run(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['venv\\Scripts\\python.exe', '-m', 'pip', 'install', '-r', 'requirements.txt', '--index-url', 'https://pypi.org/simple']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\VideoSteganography\build_app.py", line 369, in <module>
sys.exit(main())
File "C:\Users\Administrator\Desktop\VideoSteganography\build_app.py", line 347, in main
if not install_dependencies(venv_dir):
File "C:\Users\Administrator\Desktop\VideoSteganography\build_app.py", line 178, in install_dependencies
if "opencv-python-headless" in default_deps:
UnboundLocalError: local variable 'default_deps' referenced before assignment
C:\Users\Administrator\Desktop\VideoSteganography>
最新发布