Code: Select all
eselect python set python2.7
!!! Error: Couldn't source /usr/share/eselect/modules/python.eselect
Call stack:
* do_action (core.bash:83)
* main (eselect:191)
exiting
Code: Select all
eselect python set python2.7
!!! Error: Couldn't source /usr/share/eselect/modules/python.eselect
Call stack:
* do_action (core.bash:83)
* main (eselect:191)
exiting
Yes -JESSEJJ89 wrote:Thanks for guide![]()
I was just starting to look for this. Although is there a way to tell which version of Python I already have ? I installed Gentoo 4 days ago.
Code: Select all
eselect python list

So I tried that, but when I try python-update, packages seem to still have 2.6 dependencies, and won't build due to slot conflicts. For example:Helena wrote: EDIT revised to quickly display the solution without having to search the entire topic
In the stable tree python 2.7 has been available for some time. However the upgrade from 2.6 needs to be performed in a certain manner.
Immediately after emerging python 2.7 a message is displayed by portage about running python-updater. This message does not list all steps required which are:NOTE of course the last two lines may affect other packages as well!Code: Select all
eselect python set python2.7 python-updater emerge --depclean revdep-rebuild
Code: Select all
(dev-python/sphinx-1.2::gentoo, ebuild scheduled for merge) pulled in by
dev-python/sphinx[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] required by (dev-python/pexpect-3.0::gentoo, ebuild scheduled for merge)
dev-python/sphinx[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] required by (dev-python/matplotlib-1.3.1::gentoo, ebuild scheduled for merge)