I emerged python-2.3.4_rc1. I had python-2.3.3-r1. Now calling to emerge (emerge world for example) shows: ''import site' failed; use -v for traceback Traceback (most recent call last): File "/usr/bin/emerge", line 14, in ? import portage File "/usr/lib/portage/pym/portage.py", line 6046, in ? if not os.path.exists(root+"tmp"): AttributeError: 'module' object has no attribute 'exists' Reproducible: Always Steps to Reproduce: 1.type emerge and press return Actual Results: emerge crashed Expected Results: the usual output of "emerge" application can't paste the information from "emerge info", given that emerge doesn't work
This is a python problem and isn't related to portage directly.
'emerge info' and also /var/db/pkg/dev-lang/python*/CONTENTS please
Fernando, if you still can't do 'emerge info', please attach your /etc/make.conf file.
i already solved it by copying the site-related files from a Gentoo LiveCD to my hard disk, it was another version, but it worked
Does the newest version of python work correctly for you?
yes it does etcat versions python [ Results for search key : python ] [ Candidate applications found : 7 ] Only printing found installed programs. * dev-lang/python : [M~ ] 2.1.3-r1 (2.1) [ ] 2.2.2 (2.2) [ I] 2.2.3-r5 (2.2) [ ] 2.3.3 (2.3) [ ~ ] 2.3.3-r1 (2.3) [ ~ ] 2.3.4_rc1 (2.3) [ ~I] 2.3.4 (2.3)
Created attachment 40097 [details] Please ignore these attachments
Created attachment 40098 [details] Sorry, something went wrong in the upload.
There isn't python-2.3.4_rc1 in portage any more, so I'm closing this bug.