View previous topic :: View next topic |
Author |
Message |
dafi n00b
Joined: 19 Jul 2007 Posts: 21 Location: Poznań, Poland
|
Posted: Wed Sep 28, 2011 4:55 pm Post subject: |
|
|
I can't select python version
Code: | 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
|
any ideas ? _________________ Long distance GentOO User |
|
Back to top |
|
|
West201 Tux's lil' helper
Joined: 22 Dec 2011 Posts: 115
|
Posted: Sat Dec 24, 2011 11:41 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
m4chine Apprentice
Joined: 12 Mar 2003 Posts: 271 Location: Ventura, CA, USA
|
Posted: Thu Jan 05, 2012 4:16 pm Post subject: |
|
|
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. |
Yes - Code: | eselect python list |
_________________ never trust a man who can count to 1023 on his fingers.
-m4chine |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
PsykoNerd n00b
Joined: 20 Dec 2011 Posts: 16 Location: There !
|
Posted: Wed Aug 14, 2013 8:52 am Post subject: update specific package |
|
|
How do I update an specific package with emerge, I know I can, but how ? |
|
Back to top |
|
|
dianemcmillan n00b
Joined: 31 Oct 2013 Posts: 1
|
Posted: Wed Nov 06, 2013 3:48 am Post subject: Reply: |
|
|
@mikegpitt
Thanks for providing the indication of these steps. Now I know the explanation on those steps. |
|
Back to top |
|
|
idoerg n00b
Joined: 22 Jan 2012 Posts: 41
|
Posted: Tue Jan 14, 2014 6:04 pm Post subject: Re: How to upgrade Python 2.6 to 2.7 |
|
|
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: Code: | eselect python set python2.7
python-updater
emerge --depclean
revdep-rebuild | NOTE of course the last two lines may affect other packages as well!
|
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:
Code: |
(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)
|
I tried installing 2.6 before running python-updater, but that didn't help. |
|
Back to top |
|
|
KAMIKAZE_ Guru
Joined: 09 Oct 2003 Posts: 309 Location: Riga, Latvia
|
Posted: Thu Jan 04, 2018 2:52 am Post subject: |
|
|
Do we really need this sticked in 2018 ? _________________ -=[powered by Gentoo]=- |
|
Back to top |
|
|
|