Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blender installation #39

Open
katefive opened this issue Feb 20, 2024 · 1 comment
Open

Blender installation #39

katefive opened this issue Feb 20, 2024 · 1 comment

Comments

@katefive
Copy link

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.

@Mathux
Copy link
Owner

Mathux commented Feb 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants