Trying to install blender with different python version

I'm trying to install
graphics/blender
from port but to install
cad/freecad
I had to remove
lang/python311
completely and install
lang/python312
instead. Now I went to install
graphics/blender
from port but when building I get an error output saying that
graphics/blender
require
lang/python311
to build but if I want I can use the 'PYTHON_VERSION=' to use another version but there's no garantie it will work. So I put in
/etc/make.conf
: PYTHON_VERSION=3.12 but its not working I get the same output appeared after that .
 
Last edited by a moderator:
You can run Blender with Cuda using Podman on Freebsd
dont know if that helps resolve your issue


 
You can run Blender with Cuda using Podman on Freebsd
dont know if that helps resolve your issue


thanks its always good to have options ill look at it but I dlike to know how to install from port with a different python version
 
thanks its always good to have options ill look at it but I dlike to know how to install from port with a different python version
If you still have a blender package located under /var/cache/pkg, you could try installing it by ignoring the dependencies.
Code:
pkg install -M
see man pkg-install

(Maybe not what you are looking for...)
 
if I want I can use the 'PYTHON_VERSION=' to use another version but there's no garantie it will work. So I put in
/etc/make.conf
: PYTHON_VERSION=3.12 but its not working I get the same output appeared after that .
To change the 'default' Python version, put this in make.conf:
Code:
DEFAULT_VERSIONS+= python=3.13

This works for any port that USES= python without specifying a version.
 
To change the 'default' Python version, put this in make.conf:
Code:
DEFAULT_VERSIONS+= python=3.13

This works for any port that USES= python without specifying a version.

Code:
free@nomonoru:/usr/ports/graphics/blender $ . /etc/make.conf
/etc/make.conf: DEFAULT_VERSIONS+=: not found
/etc/make.conf: DEFAULT_VERSIONS+=: not found

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

free@nomonoru:/usr/ports/graphics/blender $ cat /etc/make.conf
DISABLE_VULNERABILITIES=yes
DEFAULT_VERSIONS+= ssl=openssl
MAKE_JOBS_UNSAFE=yes
DEFAULT_VERSIONS+= python=3.12

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

free@nomonoru:/usr/ports/graphics/blender $ pkg info python312
python312-3.12.14
Name           : python312
Version        : 3.12.14
Installed on   : Sat Aug 29 20:58:14 2026 EDT
Origin         : lang/python312
Architecture   : FreeBSD:15:amd64
Prefix         : /usr/local
Categories     : lang python
Licenses       : PSFL
Maintainer     : python@FreeBSD.org
WWW            : https://www.python.org/
Comment        : Interpreted object-oriented programming language
Options        :
        DEBUG          : off
        FNV            : off
        IPV6           : on
        LIBMPDEC       : on
        LTO            : on
        NLS            : on
        PYMALLOC       : on
        SIPHASH        : off
Shared Libs required:
        libbz2.so.4
        libc.so.7
        libcrypt.so.5
        libcrypto.so.35
        libdl.so.1
        libexpat.so.1
        libffi.so.8
        libintl.so.8
        liblzma.so.5
        libm.so.5
        libmpdec.so.4
        libncursesw.so.9
        libpanelw.so.6
        libreadline.so.8
        libssl.so.35
        libthr.so.3
        libtinfow.so.9
        libutil.so.10
        libz.so.6
Shared Libs provided:
        libpython3.12.so.1.0
Annotations    :
        FreeBSD_version: 1500068
        build_timestamp: 2026-08-27T01:05:58+0000
        built_by       : poudriere-git-3.4.8-1-g8f99bac1
        cpe            : cpe:2.3:a:python:python:3.12.14:::::freebsd15:x64
        port_checkout_unclean: no
        port_git_hash  : fa8b2dac792526636dcd4547da83f7e28bd0783c
        ports_top_checkout_unclean: no
        ports_top_git_hash: e66ef70ebb366492b0a7a5790a91624bfcf31346
        repo_type      : binary
        repository     : FreeBSD-ports
Flat size      : 219MiB

Description    :

Python is an interpreted object-oriented programming language, and is

often compared to Tcl, Perl or Scheme.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

root@nomonoru:/usr/ports/graphics/blender # make install clean

CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  'PYTHON_VERSION=3.11' not found! This is the only officially supported
  version.  If you wish to use a newer Python version you may set
  'PYTHON_VERSION' however we do not guarantee full compatibility in this
  case.  (missing: PYTHON_LIBRARY PYTHON_LIBPATH PYTHON_INCLUDE_DIR
  PYTHON_INCLUDE_CONFIG_DIR)
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  build_files/cmake/Modules/FindPythonLibsUnix.cmake:221 (find_package_handle_standard_args)
  build_files/cmake/platform/platform_unix.cmake:223 (find_package)
  CMakeLists.txt:1574 (include)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make[1]: stopped making "/usr/ports/graphics/blender/work/.install_done.blender._usr_local" in /usr/ports/graphics/blender
*** Error code 1

Stop.
make: stopped making "install clean" in /usr/ports/graphics/blender
root@nomonoru:/usr/ports/graphics/blender #
 
Back
Top