解决 安装时 error 2869

本文介绍了解决安装MSI文件时出现Error2869的方法。主要原因是用户权限不足,解决方案是在Windows Vista和Win7中使用管理员权限安装。可以通过创建一个批处理文件并以管理员身份运行来实现。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

安装msi文件时出现 the error 2869问题
原因是用户权限问题
在Vista 和win7 中需要切换到管理员权限安装
或者
新建一个bat文件, 例如: install.bat, 在 bat文件内写入 msiexec /i (msi文件的绝对路径)
保存后, 在 install.bat 文件的右键菜单选择 ”以管理员身份运行“, 就OK了。
不仅仅是MSI,碰到其他的非可执行文件需要管理员权限的时候,这种方法依然可行的
Collecting tornado!=6.5.0,<7,>=6.0.3 (from streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/7d/f7/0c48ba992d875521ac761e6e04b0a1750f8150ae42ea26df1852d6a98942/tornado-6.5.1-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB) Requirement already satisfied: jinja2 in /home/devadmin/miniconda3/envs/PDF-md/lib/python3.11/site-packages (from altair!=5.4.0,!=5.4.1,<6,>=4.0->streamlit) (3.1.6) Collecting jsonschema>=3.0 (from altair!=5.4.0,!=5.4.1,<6,>=4.0->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/fe/54/c86cd8e011fe98803d7e382fd67c0df5ceab8d2b7ad8c5a81524f791551c/jsonschema-4.25.0-py3-none-any.whl (89 kB) Collecting narwhals>=1.14.2 (from altair!=5.4.0,!=5.4.1,<6,>=4.0->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/7f/26/43caf834e47c63883a5eddc02893b7fdbe6a0a4508ff6dc401907f3cc085/narwhals-2.0.1-py3-none-any.whl (385 kB) Collecting gitdb<5,>=4.0.1 (from gitpython!=3.1.19,<4,>=3.0.7->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/a0/61/5c78b91c3143ed5c14207f463aecfc8f9dbb5092fb2869baf37c273b2705/gitdb-4.0.12-py3-none-any.whl (62 kB) Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->gitpython!=3.1.19,<4,>=3.0.7->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/04/be/d09147ad1ec7934636ad912901c5fd7667e1c858e19d355237db0d0cd5e4/smmap-5.0.2-py3-none-any.whl (24 kB) Collecting python-dateutil>=2.8.2 (from pandas<3,>=1.4.0->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Collecting pytz>=2020.1 (from pandas<3,>=1.4.0->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/81/c4/34e93fe5f5429d7570ec1fa436f1986fb1f00c3e0f43a589fe2bbcd22c3f/pytz-2025.2-py2.py3-none-any.whl (509 kB) Collecting tzdata>=2022.7 (from pandas<3,>=1.4.0->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/5c/23/c7abc0ca0a1526a0774eca151daeb8de62ec457e77262b66b359c3c7679e/tzdata-2025.2-py2.py3-none-any.whl (347 kB) Requirement already satisfied: charset_normalizer<4,>=2 in /home/devadmin/miniconda3/envs/PDF-md/lib/python3.11/site-packages (from requests<3,>=2.27->streamlit) (3.4.2) Requirement already satisfied: idna<4,>=2.5 in /home/devadmin/miniconda3/envs/PDF-md/lib/python3.11/site-packages (from requests<3,>=2.27->streamlit) (3.10) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/devadmin/miniconda3/envs/PDF-md/lib/python3.11/site-packages (from requests<3,>=2.27->streamlit) (2.5.0) Requirement already satisfied: certifi>=2017.4.17 in /home/devadmin/miniconda3/envs/PDF-md/lib/python3.11/site-packages (from requests<3,>=2.27->streamlit) (2025.8.3) Requirement already satisfied: MarkupSafe>=2.0 in /home/devadmin/miniconda3/envs/PDF-md/lib/python3.11/site-packages (from jinja2->altair!=5.4.0,!=5.4.1,<6,>=4.0->streamlit) (3.0.2) Collecting attrs>=22.2.0 (from jsonschema>=3.0->altair!=5.4.0,!=5.4.1,<6,>=4.0->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/77/06/bb80f5f86020c4551da315d78b3ab75e8228f89f0162f2c3a819e407941a/attrs-25.3.0-py3-none-any.whl (63 kB) Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=3.0->altair!=5.4.0,!=5.4.1,<6,>=4.0->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/01/0e/b27cdbaccf30b890c40ed1da9fd4a3593a5cf94dae54fb34f8a4b74fcd3f/jsonschema_specifications-2025.4.1-py3-none-any.whl (18 kB) Collecting referencing>=0.28.4 (from jsonschema>=3.0->altair!=5.4.0,!=5.4.1,<6,>=4.0->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/c1/b1/3baf80dc6d2b7bc27a95a67752d0208e410351e3feb4eb78de5f77454d8d/referencing-0.36.2-py3-none-any.whl (26 kB) Collecting rpds-py>=0.7.1 (from jsonschema>=3.0->altair!=5.4.0,!=5.4.1,<6,>=4.0->streamlit) Downloading https://mirrors.aliyun.com/pypi/packages/34/a2/004c99936997bfc644d590a9defd9e9c93f8286568f9c16cdaf3e14429a7/rpds_py-0.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (383 kB) Requirement already satisfied: six>=1.5 in /home/devadmin/miniconda3/envs/PDF-md/lib/python3.11/site-packages (from python-dateutil>=2.8.2->pandas<3,>=1.4.0->streamlit) (1.17.0) Building wheels for collected packages: pyarrow Building wheel for pyarrow (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for pyarrow (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [876 lines of output] /tmp/pip-build-env-cwl6bk4x/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /tmp/pip-build-env-cwl6bk4x/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /tmp/pip-build-env-cwl6bk4x/overlay/lib/python3.11/site-packages/setuptools/dist.py:483: SetuptoolsDeprecationWarning: Pattern '../LICENSE.txt' cannot contain '..' !! ******************************************************************************** Please ensure the files specified are contained by the root of the Python package (normally marked by `pyproject.toml`). By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/specifications/glob-patterns/ for details. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /tmp/pip-build-env-cwl6bk4x/overlay/lib/python3.11/site-packages/setuptools/dist.py:483: SetuptoolsDeprecationWarning: Cannot find any files for the given pattern. !! ******************************************************************************** Pattern '../LICENSE.txt' did not match any files. By 2026-Mar-20, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! for path in sorted(cls._find_pattern(pattern, enforce_match)) /tmp/pip-build-env-cwl6bk4x/overlay/lib/python3.11/site-packages/setuptools/dist.py:483: SetuptoolsD
最新发布
08-08
C:\Users\23228\PyCharmMiscProject\.venv\Scripts\python.exe D:\commodity_sorting_system\train.py Running training command: python D:\commodity_sorting_system\yolov5\train.py --img 640 --batch 16 --epochs 30 --data "D:\commodity_sorting_system\data\data.yaml" --weights yolov5s.pt --device cpu --project "D:\commodity_sorting_system\输出" --name yolov5_results --optimizer AdamW requirements: Ultralytics requirement ['gitpython'] not found, attempting AutoUpdate... [notice] A new release of pip is available: 23.2.1 -> 25.1.1 [notice] To update, run: python.exe -m pip install --upgrade pip Collecting gitpython Obtaining dependency information for gitpython from https://files.pythonhosted.org/packages/1d/9a/4114a9057db2f1462d5c8f8390ab7383925fe1ac012eaa42402ad65c2963/GitPython-3.1.44-py3-none-any.whl.metadata Downloading GitPython-3.1.44-py3-none-any.whl.metadata (13 kB) Collecting gitdb<5,>=4.0.1 (from gitpython) Obtaining dependency information for gitdb<5,>=4.0.1 from https://files.pythonhosted.org/packages/a0/61/5c78b91c3143ed5c14207f463aecfc8f9dbb5092fb2869baf37c273b2705/gitdb-4.0.12-py3-none-any.whl.metadata Downloading gitdb-4.0.12-py3-none-any.whl.metadata (1.2 kB) Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->gitpython) Obtaining dependency information for smmap<6,>=3.0.1 from https://files.pythonhosted.org/packages/04/be/d09147ad1ec7934636ad912901c5fd7667e1c858e19d355237db0d0cd5e4/smmap-5.0.2-py3-none-any.whl.metadata Downloading smmap-5.0.2-py3-none-any.whl.metadata (4.3 kB) Downloading GitPython-3.1.44-py3-none-any.whl (207 kB) -------------------------------------- 207.6/207.6 kB 421.7 kB/s eta 0:00:00 Downloading gitdb-4.0.12-py3-none-any.whl (62 kB) ---------------------------------------- 62.8/62.8 kB ? eta 0:00:00 Downloading smmap-5.0.2-py3-none-any.whl (24 kB) Installing collected packages: smmap, gitdb, gitpython Successfully installed gitdb-4.0.12 gitpython-3.1.44 smmap-5.0.2 requirements: AutoUpdate success 7.9s WARNING requirements: Restart runtime or rerun command for updates to take effect train: weights=yolov5s.pt, cfg=, data=D:\commodity_sorting_system\data\data.yaml, hyp=yolov5\data\hyps\hyp.scratch-low.yaml, epochs=30, batch_size=16, imgsz=640, rect=False, resume=False, nosave=False, noval=False, noautoanchor=False, noplots=False, evolve=None, evolve_population=yolov5\data\hyps, resume_evolve=None, bucket=, cache=None, image_weights=False, device=cpu, multi_scale=False, single_cls=False, optimizer=AdamW, sync_bn=False, workers=8, project=D:\commodity_sorting_system\, name=yolov5_results, exist_ok=False, quad=False, cos_lr=False, label_smoothing=0.0, patience=100, freeze=[0], save_period=-1, seed=0, local_rank=-1, entity=None, upload_dataset=False, bbox_interval=-1, artifact_alias=latest, ndjson_console=False, ndjson_file=False github: skipping check (offline), for updates see https://github.com/ultralytics/yolov5 requirements: Ultralytics requirement ['thop>=0.1.1'] not found, attempting AutoUpdate... [notice] A new release of pip is available: 23.2.1 -> 25.1.1 [notice] To update, run: python.exe -m pip install --upgrade pip Collecting thop>=0.1.1 Obtaining dependency information for thop>=0.1.1 from https://files.pythonhosted.org/packages/bb/0f/72beeab4ff5221dc47127c80f8834b4bcd0cb36f6ba91c0b1d04a1233403/thop-0.1.1.post2209072238-py3-none-any.whl.metadata Downloading thop-0.1.1.post2209072238-py3-none-any.whl.metadata (2.7 kB) Requirement already satisfied: torch in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from thop>=0.1.1) (2.6.0) Requirement already satisfied: filelock in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from torch->thop>=0.1.1) (3.18.0) Requirement already satisfied: typing-extensions>=4.10.0 in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from torch->thop>=0.1.1) (4.13.2) Requirement already satisfied: networkx in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from torch->thop>=0.1.1) (3.4.2) Requirement already satisfied: jinja2 in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from torch->thop>=0.1.1) (3.1.6) Requirement already satisfied: fsspec in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from torch->thop>=0.1.1) (2025.3.2) Requirement already satisfied: setuptools in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from torch->thop>=0.1.1) (78.1.0) Requirement already satisfied: sympy==1.13.1 in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from torch->thop>=0.1.1) (1.13.1) Requirement already satisfied: mpmath<1.4,>=1.1.0 in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from sympy==1.13.1->torch->thop>=0.1.1) (1.3.0) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\23228\pycharmmiscproject\.venv\lib\site-packages (from jinja2->torch->thop>=0.1.1) (3.0.2) Downloading thop-0.1.1.post2209072238-py3-none-any.whl (15 kB) Installing collected packages: thop Successfully installed thop-0.1.1.post2209072238 requirements: AutoUpdate success 6.0s WARNING requirements: Restart runtime or rerun command for updates to take effect Traceback (most recent call last): File "D:\commodity_sorting_system\yolov5\train.py", line 986, in <module> main(opt) File "D:\commodity_sorting_system\yolov5\train.py", line 656, in main check_file(opt.data), ^^^^^^^^^^^^^^^^^^^^ File "D:\commodity_sorting_system\yolov5\utils\general.py", line 506, in check_file assert len(files), f"File not found: {file}" # assert file was found ^^^^^^^^^^ AssertionError: File not found: D:\commodity_sorting_system\data\data.yaml Training failed with exit code: 1 进程已结束,退出代码为 0 怎么解决给出完整代码
06-04
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值