FreeBSD 14
Sponsored Link

Python 3.11 : Install2024/08/23

 

Install Python 3.11.

[1] Install Python 3.11.
root@dlp:~#
pkg install -y python311
root@dlp:~#
python3.11 -V

Python 3.11.9

# Python 3.11 is the default version for FreeBSD 14.1,
# so if you install the metapackage, you can also call it with [python] or [python3]

root@dlp:~#
pkg install -y python
root@dlp:~#
python -V

Python 3.11.9

# verify to create a test script

root@dlp:~#
echo -e "import sys\nprint(sys.version)" > python_test.py

root@dlp:~#
python python_test.py

3.11.9 (main, Jul 6 2024, 01:06:23) [Clang 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a
Matched Content