Blender 2.67b crashes on startup (PYTHONPATH) #35800

Closed
opened 2013-06-18 21:53:09 +02:00 by Jeremias Boos · 14 comments

Duplicates: #33072

%%%It is Basically the same as the Duplicate but I didn't know to which person I should write to reopen the ticket.

The Console output looks like this:

C:\Users\Wasi>"C:\Program Files\Blender Foundation\Blender\blender.exe"
found bundled python: C:\Program Files\Blender Foundation\Blender\2.67\python
Fatal Python error: Py_Initialize: unable to load the file system codec
File "C:\GitStack\python\lib\encodings_init_.py", line 123
raise CodecRegistryError,
^
SyntaxError: invalid syntax

To change the PYTHONPATH is no option to me because this variable is used by an other program.

%%%

**Duplicates**: #33072 %%%It is Basically the same as the Duplicate but I didn't know to which person I should write to reopen the ticket. The Console output looks like this: C:\Users\Wasi>"C:\Program Files\Blender Foundation\Blender\blender.exe" found bundled python: C:\Program Files\Blender Foundation\Blender\2.67\python Fatal Python error: Py_Initialize: unable to load the file system codec File "C:\GitStack\python\lib\encodings\__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntax To change the PYTHONPATH is no option to me because this variable is used by an other program. %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

#48889 was marked as duplicate of this issue

#48889 was marked as duplicate of this issue

%%%If you set PYTHONPATH you have to set this to a Python version compatible with Blender.

Can you confirm that the version of Python in "C:\GitStack\python" is 3.3 ?%%%

%%%If you set PYTHONPATH you have to set this to a Python version compatible with Blender. Can you confirm that the version of Python in "C:\GitStack\python" is 3.3 ?%%%
Author

%%%it doesn't seem to be 3.3 more like old 2.7.2

C:\GitStack\python>python.exe -V
Python 2.7.2
%%%

%%%it doesn't seem to be 3.3 more like old 2.7.2 C:\GitStack\python>python.exe -V Python 2.7.2 %%%

%%%Python2.x is incompatible and has totally different API

Unfortunately the error happens within Python and they dont provide some nicer way to report the versions dont match.

closing.%%%

%%%Python2.x is incompatible and has totally different API Unfortunately the error happens within Python and they dont provide some nicer way to report the versions dont match. closing.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author

%%%But it should be some how possible to use Python 2.x along 3.x because I want to run GitStack and Blender not GitStack or Blender%%%

%%%But it should be some how possible to use Python 2.x along 3.x because I want to run GitStack and Blender not GitStack or Blender%%%

Added subscriber: @And0k

Added subscriber: @And0k

I have same problem for Blender 2.7

I have same problem for Blender 2.7

Able to start Blender if rename Python installation dir before

Able to start Blender if rename Python installation dir before

Nope its not possible, its a limitation in Python, see
http://bugs.python.org/issue2375

Nope its not possible, its a limitation in Python, see http://bugs.python.org/issue2375

Added subscriber: @RobertPreston

Added subscriber: @RobertPreston

Added subscriber: @Allan_F

Added subscriber: @Allan_F

To solve this problem and does not change the environment system variable PYTHONPATH, I created a batch file.
SET PYTHONPATH=""
%PROGRAMFILES%\Blender Foundation\Blender\blender.exe

To solve this problem and does not change the environment system variable PYTHONPATH, I created a batch file. SET PYTHONPATH="" %PROGRAMFILES%\Blender Foundation\Blender\blender.exe
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#35800
No description provided.