I was wondering since Ubuntu Raring now comes with Python 3.3.1 if it would be possible to tell Blender to use that Python instead of the bundled one.
If try this by removing the python dir in ./2.66/ I get:
$ PYTHONHOME='/usr' blender
connect failed: No such file or directory
Traceback (most recent call last):
File "/usr/lib/python3.3/site.py", line 76, in <module>
import re
File "/usr/lib/python3.3/re.py", line 122, in <module>
import sre_compile
File "/usr/lib/python3.3/sre_compile.py", line 14, in <module>
import sre_parse
File "/usr/lib/python3.3/sre_parse.py", line 17, in <module>
from sre_constants import *
File "/usr/lib/python3.3/sre_constants.py", line 18, in <module>
from _sre import MAXREPEAT
ImportError: cannot import name MAXREPEAT
Weird. Anybody clues???
Another approach which is possible is to tell Blender to use the Python paths of the Ubuntu supplied Python.
$ sudo apt-get install python3-zmq
$ blender
In Blender’s python console:
>>> import sys
>>> sys.path
>>> sys.path.append('/usr/lib/python3/dist-packages');
>>> import zmq
>>> zmq.zmq_version_info()
(2, 2, 0)