TEMOS icon indicating copy to clipboard operation
TEMOS copied to clipboard

Blender installation

Open katefive opened this issue 1 year ago • 2 comments

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.

katefive avatar Feb 20 '24 08:02 katefive

Hello @katefive,

  1. After installing blender with snap, you got it in /snap/bin/blender. Can you try the command instead:
/snap/bin/blender --background --version
  1. 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

Mathux avatar Feb 26 '24 13:02 Mathux

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?

13629281511 avatar Oct 19 '24 07:10 13629281511