Blender error on startup

Hi,

Has anyone come across this error:

‘import site’ failed; use -V for traceback.

when starting Blender 2.28a from a fresh install?

I’m trying to help a couple of people get blender up and running and they both report this error :-?

I’ve been telling them how wonderful Blender is and it CTD the first time they run it!!!

Cheers Stephen

That’s an error related to Python scripting meaning it cannot find external libraries. If you don’t plan on using Python scripts in Blender, you can skip this error.

Martin

Theeth - you should just tell timothy to get rid of the search function in the forums %|

As Theeth stated, it’s not a very important issue… It doesn’t cause any serious problems in Blender… And if I remember correct, it didn’t even prevent me from running some python scripts, at all… You’ll have problems running python scripts that require some external modules from the full Python installation, though…

In any case, if you want to get rid of it, you have to install Python version 2.2.2 and set your PYTHONPATH correctly…

Good luck…

doesn’t CTD mean “crashes to desktop”? in that case, maybe it is a serious problem! but possibly crashing to desktop for some other reason than the displayed error…

Hi,

The error came from Blender newbies who were using a script I wrote to import revolt tracks. They reported the initial warning “‘import site’ failed; use -V for traceback”, then had the script crash with the error “os.py:282: Warning ‘yield’ will become a reserved keyword in the future”. The script uses os.chdir.

The error wasn’t a CTD - my mistake, but it did stop the script working.

The pain was that I repeated tested the script on my home and work computers (both with Blender 2.28a and Python 2.2.3)!!!

I’ve had to suggest they re-download python after wasting a 9 meg download (hope they have broadband!!).

Cheers Stephen