On Fri, 13 Mar 2015 18:46:28 +0000
"Garth N. Wells" <[email protected]> wrote:

> Has anyone built DOLFIN with Python 3 on Ubuntu? I use
> 
>     ./cmake.local -DPYTHON_EXECUTABLE=python3
> 
> and get
> 
>     -- Could NOT find PythonInterp: Found unsuitable version "1.4",
> but required is at least "3" (found
> /home/garth/code/fenics/dev/dolfin.d/dolfin-2/build.master/python3)

It seems that you end up on this line
https://github.com/Kitware/CMake/blob/master/Modules/FindPythonInterp.cmake#L149
because following two calls fail:

line 117:
  import sys; sys.stdout.write(';'.join([str(x) for x in sys.version_info[:3]]))

line 133:
  import sys; sys.stdout.write(sys.version)

fail for some strange reason. Does it work with 
/home/garth/code/fenics/dev/dolfin.d/dolfin-2/build.master/python3 ?

Jan

> 
> It also fails at the code generation stage. Is the Python interpreter
> hard wired?
> 
> Garth
> _______________________________________________
> fenics mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics

_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to