TEMOS
TEMOS copied to clipboard
Blender installation
Hi! Thank you for your great work.
Following your kind explanation, I was going to install the blender package. I've tried several ways but I finally failed to install it.
-
Install via snap: use command
sudo snap install blender --channel=2.93lts/stable --classic. In this way, I got/snap/bin/blenderand/snap/blender/3688but when I put commandblender --background --version, the system saysThe program 'blender' is currently not installed. You can install it by typing: sudo apt install blender. -
Install via binary file: download
blender-2.93.18-linux-x64.tar.xzfrom https://www.blender.org/download/lts/2-93/ and uncompress it, and copy the binary file into/usr/bin/directory. After that,blender --background --versionreturnBlender 2.93.18 (hash cb886aba06d5 built 2023-05-22 23:33:27)correctly butblender --background --python-expr "import sys; print('\nThe version of python is '+sys.version.split(' ')[0])"occurs the following error:
Color management: using fallback mode for management
Color management: Error could not find role data role.
Blender 2.93.18 (hash cb886aba06d5 built 2023-05-22 23:33:27)
BLT_lang_init: 'locale' data path for translations not found, continuing
Color management: scene view "Filmic" not found, setting default "Standard".
blf_load_font_default: 'fonts' data path not found for 'droidsans.ttf', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf', will not be able to display text
/run/user/1000/gvfs/ non-existent directory
bpy: couldn't find 'scripts/modules', blender probably wont start.
Freestyle: couldn't find 'scripts/freestyle/modules', Freestyle won't work properly.
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy'
Error: dropbox with unknown operator: WM_OT_drop_blend_file
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Aborted (core dumped)
I've been struggling with this problem for several days.... I couldn't find any solution on google. I would so appreciate it if you (or anyone else) could help me with this issue.
Thank you.
Hello @katefive,
- After installing blender with snap, you got it in
/snap/bin/blender. Can you try the command instead:
/snap/bin/blender --background --version
- I don't recognize this error. Just to let you know, you don't need to copy any files in
/usr/bin/. You can just run blender directly in the folder with./blender XXX
Hi! Thank you for your great work.
Following your kind explanation, I was going to install the blender package. I've tried several ways but I finally failed to install it.
1. Install via snap: use command `sudo snap install blender --channel=2.93lts/stable --classic`. In this way, I got `/snap/bin/blender` and `/snap/blender/3688` but when I put command `blender --background --version`, the system says `The program 'blender' is currently not installed. You can install it by typing: sudo apt install blender`. 2. Install via binary file: download `blender-2.93.18-linux-x64.tar.xz` from https://www.blender.org/download/lts/2-93/ and uncompress it, and copy the binary file into `/usr/bin/` directory. After that, `blender --background --version` return `Blender 2.93.18 (hash cb886aba06d5 built 2023-05-22 23:33:27)` correctly but `blender --background --python-expr "import sys; print('\nThe version of python is '+sys.version.split(' ')[0])"` occurs the following error:Color management: using fallback mode for management Color management: Error could not find role data role. Blender 2.93.18 (hash cb886aba06d5 built 2023-05-22 23:33:27) BLT_lang_init: 'locale' data path for translations not found, continuing Color management: scene view "Filmic" not found, setting default "Standard". blf_load_font_default: 'fonts' data path not found for 'droidsans.ttf', will not be able to display text blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf', will not be able to display text blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf', will not be able to display text /run/user/1000/gvfs/ non-existent directory bpy: couldn't find 'scripts/modules', blender probably wont start. Freestyle: couldn't find 'scripts/freestyle/modules', Freestyle won't work properly. ModuleNotFoundError: No module named 'bpy_types' ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7305 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy' Error: dropbox with unknown operator: WM_OT_drop_blend_file terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid Aborted (core dumped)I've been struggling with this problem for several days.... I couldn't find any solution on google. I would so appreciate it if you (or anyone else) could help me with this issue.
Thank you.
Hi, I meet the same problem with you, I believe you had solved the problem, can i ask for your help?