lose_dear
2022-03-06 17:27
采纳率: 100%
浏览 271

win10安装MySQL connector/python 失败

通过MySQL 官网下载的安装包自定义安装,安装connector/Python时候失败
安装时Details

1: Action 17:15:32: INSTALL.
1: 1: MySQL Connector Python v8.0.25 2: {92C35EFC-A7F8-41B4-A5DA-E93D1F161F1E}
1: Action 17:15:32: FindRelatedProducts. Searching for related applications
1: Action 17:15:32: AppSearch. Searching for installed applications
1: Action 17:15:32: SetInstallDirAllP37.
1: Action 17:15:32: SetInstallDirCurrentP37.
1: Action 17:15:32: LaunchConditions. Evaluating launch conditions
1: Action 17:15:32: ValidateProductID.
1: Action 17:15:32: CostInitialize. Computing space requirements
1: Action 17:15:32: FileCost. Computing space requirements
1: Action 17:15:32: CostFinalize. Computing space requirements
1: Action 17:15:32: InstallValidate. Validating install
1: Action 17:15:32: InstallInitialize.
1: Action 17:15:32: RemoveExistingProducts. Removing applications
1: Action 17:15:32: ProcessComponents. Updating component registration
1: Action 17:15:32: GenerateScript. Generating script operations for action:
1: Updating component registration
1: Action 17:15:32: UnpublishFeatures. Unpublishing Product Features
1: Action 17:15:32: RemoveFiles. Removing files
1: Action 17:15:32: InstallFiles. Copying new files
1: File: Copying new files, Directory: , Size:
1: Action 17:15:32: RegisterUser. Registering user
1: Action 17:15:32: RegisterProduct. Registering product
1: Registering product
1: Action 17:15:32: PublishFeatures. Publishing Product Features
1: Feature: Publishing Product Features
1: Action 17:15:32: PublishProduct. Publishing product information
1: Action 17:15:32: InstallFinalize.
1: Action 17:15:32: ProcessComponents. Updating component registration
1: Action 17:15:32: InstallFiles. Copying new files
1: File: init.py, Directory: C:\Program Files\MySQL\Connector Python 8.0\Examples, Size: 0
1: File: abstracts.py, Directory: C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\Lib\site-packages\mysql\connector, Size: 53381
1: The installer has insufficient privileges to access this directory: C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\Lib\site-packages\mysql. The installation cannot continue. Log on as administrator or contact your system administrator.
1: Action 17:15:33: Rollback. Rolling back action:
1: Copying new files
1: Updating component registration
1: 1: MySQL Connector Python v8.0.25 2: {92C35EFC-A7F8-41B4-A5DA-E93D1F161F1E} 3: 2
1: The action 'Install' for product 'Connector/Python 8.0.25' failed.

换了别的版本依旧报错
是哪里出了问题,怎么才能安装成功

2条回答 默认 最新

相关推荐 更多相似问题