blenderpy icon indicating copy to clipboard operation
blenderpy copied to clipboard

import bpy (failed to find 'bpy_types)

Open devshahofficial opened this issue 4 years ago • 0 comments

Hey, I am using import bpy in Command prompt in Windows10. Have already copy pasted the 2.83 folders in the site packages. But I guess you'll recognize the error below.

import bpy Color management: using fallback mode for management Color management: Error could not find role data role. BLT_lang_init: 'locale' data path for translations not found, continuing Color management: scene view "Filmic" not found, setting default "Standard". 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): C:\Users\TGubs\Code\Python\blenderpy\build\temp.win-amd64-3.7\Release\blender\source\blender\python\intern\bpy_rna.c:7083 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): C:\Users\TGubs\Code\Python\blenderpy\build\temp.win-amd64-3.7\Release\blender\source\blender\python\intern\bpy_rna.c:7083 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): C:\Users\TGubs\Code\Python\blenderpy\build\temp.win-amd64-3.7\Release\blender\source\blender\python\intern\bpy_rna.c:7083 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): C:\Users\TGubs\Code\Python\blenderpy\build\temp.win-amd64-3.7\Release\blender\source\blender\python\intern\bpy_rna.c:7083 pyrna_srna_ExternalType: failed to find 'bpy_types' module ModuleNotFoundError: No module named 'bpy_types' ERROR (bpy.rna): C:\Users\TGubs\Code\Python\blenderpy\build\temp.win-amd64-3.7\Release\blender\source\blender\python\intern\bpy_rna.c:7083 pyrna_srna_ExternalType: failed to find 'bpy_types' module F0204 19:34:37.691756 3868 utilities.cc:322] Check failed: !IsGoogleLoggingInitialized() You called InitGoogleLogging() twice! *** Check failure stack trace: ***

if you didn't find the error: it is searching for modules in Users\TGubs... which I suppose is your folder.

devshahofficial avatar Feb 04 '22 14:02 devshahofficial