[LLVMdev] svn trunk comilation error

Tim Northover t.p.northover at gmail.com
Tue May 8 02:38:02 PDT 2012


Hi Julien,

> Traceback (most recent call last):
>  File "3.1_svn/llvm/utils/llvm-build/llvm-build", line 3, in <module>
>    import llvmbuild
>  File "3.1_svn/llvm/utils/llvm-build/llvmbuild/__init__.py", line 1, in <module>
>    from main import main
> ImportError: No module named main

I've encountered this error (or one very similar to it) when the main
python binary was a version of Python 3.x instead of 2.x. At a glance
it might produce the kind of error you're getting above too.

Tim.




More information about the llvm-dev mailing list