【问题标题】:unable to execute 'gcc': Permission denied error: command 'gcc' failed with exit status 1 on cPanel无法执行“gcc”:权限被拒绝错误:命令“gcc”失败,cPanel 上的退出状态为 1
【发布时间】: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


    【解决方案1】:

    如果您使用的是 Linux,请尝试在 pip install mysqlclient 之前添加 sudo 命令

    所以输入:sudo pip install mysqlclient

    如果您使用的是 Windows,请右键单击命令提示符图标并选择“以管理员身份运行”。

    然后运行pip install mysqlclient

    这使 pip 有权下载和安装文件。

    https://kb.iu.edu/d/amyi

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-11-26
      • 2014-09-03
      • 1970-01-01
      • 2016-01-08
      • 2011-11-11
      相关资源
      最近更新 更多