添加mysql软连接失败_无法安装python3的连续报错-mysql include软链接问题

在Ubuntu虚拟机中,作者在尝试安装Python3时遇到依赖问题,具体表现为软件包libmysqlclient-dev安装失败,原因是/usr/include/mysql/mysql/plugin_ftparser.h文件的软链接缺失。通过手动查找问题并重新生成软链接解决了问题。
摘要由CSDN通过智能技术生成

作者:matrix

被围观: 6,647 次

发布时间:2019-03-12

无评论 »

💡NOTICE:这是一个创建于 697 天前的主题,其中的信息可能已经有所发展或是发生改变。

虚拟机ubuntu中自带了Python2,但是想要使用python3需要单独安装。使用add-apt-repository来添加ppa源安装提示command not found,之后进行安装操作sudo apt-get install software-properties-common,错误继续:

$ sudo apt-get install software-properties-common

Reading package lists... Done

Building dependency tree... 50%

Building dependency tree

Reading state information... Done

You might want to run 'apt-get -f install' to correct these:

The following packages have unmet dependencies:

libmysql++-dev : Depends: libmysqlclient-dev but it is not going to be installed

software-properties-common : Depends: python3:any (>= 3.3.2-2~)

Depends: python3 but it is not going to be installed

Depends: python3-gi but it

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值