Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427562 - Setuptools with python 3.2 tries to import from python 2.7
Summary: Setuptools with python 3.2 tries to import from python 2.7
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Lowest normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-21 20:24 UTC by mathepic
Modified: 2012-07-21 23:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeinfo,4.37 KB, text/plain)
2012-07-21 20:24 UTC, mathepic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mathepic 2012-07-21 20:24:58 UTC
Created attachment 318852 [details]
emerge --info

gentoo ~ # python3.2 -c 'import pkg_resources;print("import successful, fixed")'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 45
    def _bypass_ensure_directory(name, mode=0777):
                                               ^
SyntaxError: invalid token

# I have attached the emerge --info output
# I have also ran python-updater and manually oneshotted python-updater to no avail
Comment 1 mathepic 2012-07-21 23:01:25 UTC
I fixed this; it was specific to some weird settings in my environment.