Configuration of the recently released 2.1.beta on my Archlinux system
gives  python-related errors (see below).

It looks like a python2 /python3 issue. On Archlinux, python defaults to
python3, while the executable for python 2.7 is  /usr/bin/python2

Interestingly, configure itself ends successfully. My first attempt at
compiling (i.e. make) failed immediately with a different python-related
error. I tried again (without reconfiguring) and it worked.

However, I do get the same error in the console when starting lyx. Lyx
starts anyways, so I am not sure how serious this problem is.

Cheers,

Stefano




-----------------Configure errors --------------------------------------
checking for python version... Fatal Python error: Py_Initialize: Unable to
get the locale encoding
  File "/usr/lib/python2.7/encodings/__init__.py", line 123
    raise CodecRegistryError,\
                            ^
SyntaxError: invalid syntax

checking for python platform... Fatal Python error: Py_Initialize: Unable
to get the locale encoding
  File "/usr/lib/python2.7/encodings/__init__.py", line 123
    raise CodecRegistryError,\
                            ^
SyntaxError: invalid syntax

checking for python script directory... Fatal Python error: Py_Initialize:
Unable to get the locale encoding
  File "/usr/lib/python2.7/encodings/__init__.py", line 123
    raise CodecRegistryError,\
                            ^
SyntaxError: invalid syntax
${prefix}/lib/python/site-packages
checking for python extension module directory... Fatal Python error:
Py_Initialize: Unable to get the locale encoding
  File "/usr/lib/python2.7/encodings/__init__.py", line 123
    raise CodecRegistryError,\
                            ^
SyntaxError: invalid syntax
-----------------------------------------------------------------------------------------------------------------------

-- 
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org

Reply via email to