Page MenuHome

Blender does not open
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 10
Graphics card: Geforce GT 710 2gb VRAM

Blender Version
Broken: 2.8.1a

My Blender2.8.1a does not open, so I try to run the blender from the CMD, and It gives a error, for some reason on the python scripts of the blender it tries to open my Python that I installed from the python.org.

I uninstalled the Python 2.8.1 and the Blender opens, but I want to keep the Python 2.8.1 and the blender together.

Event Timeline

The error says:
Fatal Python error: init_sys_streams: can't initialize sys standard streams Traceback (most recent call last): File "C:\Users\vinic\AppData\Local\Programs\Python\Python38-32\lib\io.py", line 54, in <module> ImportError: cannot import name 'open_code' from 'io' (unknown location)

ronsn (ronsn) changed the task status from Needs Triage to Needs Information from User.Tue, Dec 31, 2:43 AM
ronsn (ronsn) added a subscriber: ronsn (ronsn).

@Vinícius Pires Lopes (ViniciusPiresL) can you please check which Python version you want to keep? You wrote it's version 2.8.1, but this is the Blender version and not the Python version, isn't it?

if you start blender with the blender_factory_startup.cmd batch file located in the blender folder, does it work?

@Vinícius Pires Lopes (ViniciusPiresL) can you please check which Python version you want to keep? You wrote it's version 2.8.1, but this is the Blender version and not the Python version, isn't it?

Sorry, actually it's the Python3.8.1 version.

if you start blender with the blender_factory_startup.cmd batch file located in the blender folder, does it work?

It works, by the blender_factory_startup.cmd but by executing the blender.exe does not work.

The log files generated by the blender_factory_startup.cmd:

ronsn (ronsn) changed the task status from Needs Information from User to Needs Triage.Tue, Dec 31, 3:22 PM
Jacques Lucke (JacquesLucke) changed the task status from Needs Triage to Needs Information from User.Tue, Jan 14, 1:21 PM

Can you try if the most recent version from https://builder.blender.org/download/ works?

Do you have a 32 bit system?

Can you try if the most recent version from https://builder.blender.org/download/ works?
Do you have a 32 bit system?

I am using Windows 64 bits and I install the most recent version and yet Blender does not open.

When you open up a console and run

SET PYTHONPATH

what is the output?

When you open up a console and run
SET PYTHONPATH
what is the output?

I did it, and I got this: "PYTHONPATH=C:\Users\vinic\AppData\Local\Programs\Python\Python38-32\;C:\Users\vinic\AppData\Local\Programs\Python\Python38-32\DLLs;C:\Users\vinic\AppData\Local\Programs\Python\Python38-32\lib;C:\Users\vinic\AppData\Local\Programs\Python\Python38-32\scripts;"

LazyDodo (LazyDodo) added a comment.EditedTue, Jan 14, 10:31 PM

well that seems to be what is making blender unhappy, can't reproduce this locally though, how/from where did you install your python 3.8 version? lets see if we can break it on my system :)

manged to break my system!

well that seems to be what is making blender unhappy, can't reproduce this locally though, how/from where did you install your python 3.8 version? lets see if we can break it on my system :)
manged to break my system!

Hey, I solve my problem, I added to the PATH others paths of Python, but just the "Python/Scrpits" is needed, so I remove all the paths of Python and I reinstall it , and the Blender works fine. I don't know now if it's a bug or don't but my problem was solved like this.