安装 python 失败,权限被拒绝(使用 sudo make install)

安装 python 失败,权限被拒绝(使用 sudo make install)

我尝试使用本教程安装 Python 3.6:https://www.programiz.com/python-programming#run-python-os在 ubuntu 14.04 上。

跑步

$ ./configure

$ make

一切顺利。正在运行

$ sudo make install

出现以下错误:

make: stat: GNUmakefile: Permission denied
make: stat: makefile: Permission denied
make: stat: Makefile: Permission denied
make: stat: install: Permission denied
make: *** No rule to make target `install'. Stop.

我知道 Python 3.6 还不能通过 apt-get 安装到 ubuntu 14.04,但这个问题似乎与不兼容无关。有人能帮我安装吗?

相关内容