admin 发表于 2021-6-26 10:25:50

FreeBSD13安装Python3

1.进入相关Python版本,进入python版本,例如安装python3.7;
#cd /usr/ports/lang/python37
2.执行下面命令进行安装;
#make install clean
3.执行过程中选项保持默认即可;
安装完成后执
#python3.7
即可进入python环境
root@server1:/usr/ports/lang/python37 # python3.7
Python 3.7.10 (default, Jun 26 2021, 01:15:06)
[Clang 11.0.1 (<a href="mailto:git@github.com">git@github.com</a>:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c on freebsd13
Type "help", "copyright", "credits" or "license" for more information.
>>>

到此安装完成;
页: [1]
查看完整版本: FreeBSD13安装Python3