【发布时间】:2021-11-22 06:32:57
【问题描述】:
得到以下错误
unable to execute 'gcc': Permission denied
error: command 'gcc' failed with exit status 1
在 cPanel 终端上安装 mysqlclinet 时。
pip install mysqlclient
【问题讨论】:
标签: python mysql django hosting cpanel
得到以下错误
unable to execute 'gcc': Permission denied
error: command 'gcc' failed with exit status 1
在 cPanel 终端上安装 mysqlclinet 时。
pip install mysqlclient
【问题讨论】:
标签: python mysql django hosting cpanel
如果您使用的是 Linux,请尝试在 pip install mysqlclient 之前添加 sudo 命令
所以输入:sudo pip install mysqlclient
如果您使用的是 Windows,请右键单击命令提示符图标并选择“以管理员身份运行”。
然后运行pip install mysqlclient
这使 pip 有权下载和安装文件。
【讨论】: