python - 如何在 freeNAS 操作系统上将 python 2.7 更新到 3.5

标签 python linux python-2.7 python-3.x freebsd

<分区>

我尝试过 pip、easy_install、pkg update、pkg install 和从源代码构建,但都失败了。我只想让 python 3.5 运行,此时我已经绝望了。

最佳答案

您的 freeNAS 服务器是基于 Debian 构建的那种吗?

如果是这样你可以试试:

sudo apt-get update
sudo apt-get install python3.5

参见:

https://askubuntu.com/questions/682869/how-do-i-install-newer-python-versions-using-apt-get

如果上述方法不起作用,请尝试在此处发布这些命令的输出:

uname -a
cat /etc/issue
cat /proc/version

关于python - 如何在 freeNAS 操作系统上将 python 2.7 更新到 3.5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39378288/

相关文章:

python - 属性错误 : 'Graph' object has no attribute 'cypher' in migration of data from Postgress to Neo4j(Graph Database)

Python - 替换字符串中的非 ASCII 字符 (»)

mysql - 每 n 秒自动从数据库中删除过时的行

python - 具有 python 字典值的 Gurobi 目标

python - 如果 y 值更改,如何更改线条颜色

python - 在 Windows 中强制使用 python 版本

linux - 无法在 bash 中使用/dev/stdin 访问 POSTed 变量

python - 从 python 终止 linux 命令行实用程序

python - 垃圾收集如何处理多个正在运行的进程/线程?

python - tkinter sticky=N+W 错误 : global name 'N' is not defined