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

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 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题