[Mac OS X 10.6, Python 3.1.2 installed from MacPorts]

I downloaded the current versions of logilab-common, logilab-astng, and 
logilab-pylint. In each directory, I followed the instructions in 
README.Python3 to execute:
        find . ! -path "*/test/*py" -name "*py" -exec 2to3-3.1 -wn {} \;
in each directory. I then did:
        sudo python3 setup.py install
in each directory (i.e., with the directory the current directory).

For each of the three directories I got an immediate error:

        Traceback (most recent call last):
          File "setup.py", line 46, in <module>
            from .__pkginfo__ import modname, version, license, description, \
        ValueError: Attempted relative import in non-package

I understand the error, but I don't understand why it happened or how to fix 
it. I'm sure I'm not the first person to try to install these libraries for 
Python 3....

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to