我正在通过SSH访问我的Godaddy的主机,最近安装了Python3.7.0,NodeJS和Ruby,但很遗憾,我没有root访问权限,因此尝试修复其中的一些错误,尝试安装libffi和再次无法完成安装>无法创建目录`/ usr / local / lib / libffi -3.2.1':权限被拒绝<我当前的意图是在python3或Connector / MySQl上安装MySqlDb,但我只能下载通过WGET ||打包卷曲,当我做一个make时,它总是问一些缺少的“ _ctypes”。我相信有人必须具备神奇的公式才能安装这些软件包。我所需要的摘要是安装MySQL连接,如果有人可以帮助我解决'_ctypes'和root访问情况,我将不胜感激。
make install
MAKE x86_64-unknown-linux-gnu : 0 * install
[1]: Entering directory `/home/mzuiq13wffqf/libffi-3.2.1/x86_64-unknown-linux-gnu'
Making install in include
make[2]: Entering directory `/home/mzuiq13wffqf/libffi-3.2.1/x86_64-unknown- linux-gnu/include'
make[3]: Entering directory `/home/mzuiq13wffqf/libffi-3.2.1/x86_64-unknown-
linux-gnu/include'
make[3]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/usr/local/lib/libffi-3.2.1/include'
/bin/mkdir: cannot create directory `/usr/local/lib/libffi-3.2.1': Permission denied
make[3]: *** [install-nodist_includesHEADERS] Error 1
[3]: Leaving directory `/home/mzuiq13wffqf/libffi-3.2.1/x86_64-unknown-linux-gnu/include'
[2]: *** [install-am] Error 2
[2]: Leaving directory `/home/mzuiq13wffqf/libffi-3.2.1/x86_64-unknown-linux-gnu/include'
[1]: *** [install-recursive] Error 1
[1]: Leaving directory `/home/mzuiq13wffqf/libffi-3.2.1/x86_64-unknown-linux-gnu'
make: *** [install] Error 2