Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] python-imaging seems to conflict matplotlib
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
Skirmitch
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2013
Posts: 98

PostPosted: Sat Jun 22, 2013 12:36 am    Post subject: [SOLVED] python-imaging seems to conflict matplotlib Reply with quote

hey guys, trying to emerge scikits_learn to work arround with machinne learning and i get the following error:

Code:
Artemisa sci-libs # emerge scikits_learn
Calculating dependencies... done!

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sci-libs/scikits_learn-0.13.1
# required by scikits_learn (argument)
>=sci-libs/scipy-0.12.0 python_targets_python3_2

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

emerge: there are no ebuilds built with USE flags to satisfy "virtual/python-imaging[python_targets_python2_6(-)?,-python_single_target_python2_6(-),python_targets_python2_7(-)?,-python_single_target_python2_7(-),python_targets_python3_2(-)?,-python_single_target_python3_2(-),python_targets_python3_3(-)?,-python_single_target_python3_3(-)]".
!!! One of the following packages is required to complete your request:
- dev-python/matplotlib-1.2.1::gentoo (Change USE: -python_targets_python3_2 -python_targets_python2_7, this change violates use flag constraints defined by dev-python/matplotlib-1.2.1: 'doc? ( any-of ( python_targets_python2_6 python_targets_python2_7 ) ) excel? ( any-of ( python_targets_python2_6 python_targets_python2_7 ) ) fltk? ( any-of ( python_targets_python2_6 python_targets_python2_7 ) ) gtk? ( any-of ( python_targets_python2_6 python_targets_python2_7 ) ) wxwidgets? ( any-of ( python_targets_python2_6 python_targets_python2_7 ) ) any-of ( python_targets_python2_6 python_targets_python2_7 python_targets_python3_1 python_targets_python3_2 python_targets_python3_3 )')
(dependency required by "dev-python/matplotlib-1.2.1" [ebuild])
(dependency required by "sci-libs/scikits_learn-0.13.1[doc]" [ebuild])
(dependency required by "scikits_learn" [argument])


Any ideas on what to do?


Last edited by Skirmitch on Sat Jun 22, 2013 1:05 am; edited 1 time in total
Back to top
View user's profile Send private message
Skirmitch
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2013
Posts: 98

PostPosted: Sat Jun 22, 2013 1:04 am    Post subject: Reply with quote

Solves applying the - python target USE flag to some packages and building only for 2.7 but i dont think this is the right way to go, i dont understand why i should build it only for one kinf of py and not use the others. Anyways, solved my problem. Greetings

Code:
dev-python/matplotlib -examples -python_targets_python3_2
sci-libs/scipy -examples -python_targets_python3_2
sci-libs/scikits_learn -python_targets_python3_2
Back to top
View user's profile Send private message
luciano
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2004
Posts: 99

PostPosted: Sat Jun 22, 2013 3:09 pm    Post subject: Reply with quote

I have the same prob, I raised a bug report, I think it's a problem with the ebuild. You can follow it here:

https://bugs.gentoo.org/show_bug.cgi?id=474126
Back to top
View user's profile Send private message
ccosse
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 160
Location: New Mexico, USA

PostPosted: Tue Jul 23, 2013 6:51 am    Post subject: Reply with quote

Code:

(dependency required by "dev-python/matplotlib-1.2.1" [ebuild])
(dependency required by "sci-libs/scikits_learn-0.13.1[doc]" [ebuild])
(dependency required by "scikits_learn" [argument])


I ran into this python-imaging message while upgrading from py2.6 to py2.7. In doing so you need to run: 1) eselect python <set> <#> then 2) python-updater. The python-updater step caused the python-imaging error for me ... with 3x different packages than the above, in my case. Those pkgs depend on python-imaging. They are installed on your system. Un-emerge them and then run python-updater, which will get by the python-imaging error and update all your python stuff. After that try to re-emerge the above 3x packages again.
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