On 03 avril 23:10, Melton Low (devl) wrote:
> Hi,

Hi,
 
> I got these error near the end when building logilab common 0.57.2 under 
> python.org (http://python.org)'s version of Python 3.2.2 (64 bit) on a 
> MacBook Pro running OS X 10.7.3.
> 
> In the README.python3 there was no special instructions for building under 
> Python 3. Following the special instructions in their respective 
> README.python3, logilab-astng and pylint build with no errors.
> 
> I have attached the full log of the build. These are the errors:
> 
> Extracting logilab_common-0.57.2-py3.2.egg to 
> /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/logilab_common-0.57.2-py3.2.egg/logilab/common/test/data/module.py",
>  line 25
>     print '!!!'
>               ^
> SyntaxError: invalid syntax

How did you install it? The pb lies in files from the test suite, which seems 
not
processed by 2to3. I've tried to run:

  python3.2 setup.py install

into logilab.common, and I got everything properly installed and no error,
though those test data files were actually not processed by 2to3.

A potential difference : python3-setuptools is not installed on my system.

If you have, you may want to try:

  NO_SETUPTOOLS=1 python3.2 setup.py install

Else,

  python3.2 setup.py install --no-compile

should do the trick as well.
-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (09.54.03.55.76)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to