lose_dear 2022-03-06 17:27 采纳率: 100%
浏览 1185
已结题

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条回答 默认 最新

  • DarkAthena ORACLE应用及数据库设计方案咨询师 2022-03-06 17:47
    关注

    鼠标右键,使用管理员身份运行,其实你贴的这个信息里面已经有失败原因和建议你要怎么操作了

    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条)

报告相同问题?

问题事件

  • 系统已结题 3月15日
  • 已采纳回答 3月7日
  • 创建了问题 3月6日

悬赏问题

  • ¥15 unity从3D升级到urp管线,打包ab包后,材质全部变紫色
  • ¥50 comsol温度场仿真无法模拟微米级激光光斑
  • ¥15 上传图片时提交的存储类型
  • ¥15 Ubuntu开机显示器只显示kernel,是没操作系统(相关搜索:显卡驱动)
  • ¥15 VB.NET如何绘制倾斜的椭圆
  • ¥15 arbotix没有/cmd_vel话题
  • ¥20 找能定制Python脚本的
  • ¥15 odoo17的分包重新供应路线如何设置?可从销售订单中实时直接触发采购订单或相关单据
  • ¥15 用C语言怎么判断字符串的输入是否符合设定?
  • ¥15 通信专业本科生论文选这两个哪个方向好研究呀