Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error while emerging dev-python/shiboken [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hooblei
n00b
n00b


Joined: 21 Jul 2012
Posts: 3

PostPosted: Sat Jul 21, 2012 1:45 pm    Post subject: Error while emerging dev-python/shiboken [SOLVED] Reply with quote

Hi,

I'm trying to install pyside, without success as the emerge of dev-python/shiboken failes with the following error

Code:

* ERROR: dev-python/shiboken-1.1.1 failed (setup phase):
 *   Active version of CPython 3 is not supported by dev-python/shiboken-1.1.1


Code:

eddie ~ # eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python2.7 *
  [3]   python3.1
  [4]   python3.2


I'm now a bit buffled, cause my active version of python is 2.7. As I can not find a gentoo bug on this issue (shiboken and pyside), I'm assuming that the problem sits right in front of the keyboard - so, can someone give me a hint on this issue?

Thanks
Markus


Last edited by hooblei on Tue Jul 24, 2012 12:17 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21595

PostPosted: Sat Jul 21, 2012 3:49 pm    Post subject: Reply with quote

Your system has three "active" interpreters, for different meanings of active. First, you have an active Python interpreter, which is what you showed. Second, you have an active Python 2 interpreter, which is the one that will be used if a program requires a Python 2.x, but does not specify which Python 2.x. Third, you have an active Python 3 interpreter. What is the output of eselect python list --python3?
Back to top
View user's profile Send private message
hooblei
n00b
n00b


Joined: 21 Jul 2012
Posts: 3

PostPosted: Sat Jul 21, 2012 5:43 pm    Post subject: Reply with quote

Thanks for the clarification - the eselect list output gives the following:

Code:

eddie ~ # eselect python list --python3
Available Python 3 interpreters:
  [1]   python3.1 *
  [2]   python3.2
Back to top
View user's profile Send private message
hooblei
n00b
n00b


Joined: 21 Jul 2012
Posts: 3

PostPosted: Sat Jul 21, 2012 5:59 pm    Post subject: Reply with quote

Ahhh thanks man! - Updating python3 to the recent python 3 version solved my problem

Code:

eselect python update --python3


Now shiboken and pyside compile as expected. ... anyway, the emerge error is a bit confusing.

Thanks
Markus
Back to top
View user's profile Send private message
sinanqapudan
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 234
Location: Milan

PostPosted: Mon Jul 23, 2012 8:58 pm    Post subject: Reply with quote

Similar problem, same cure. Wouldn't it be the case to add the usual [SOLVED] to the title?

Regards
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum