Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513130 - python-3.2.5 do not know pygments module whereas 2.7.5 and 3.3.3 make it
Summary: python-3.2.5 do not know pygments module whereas 2.7.5 and 3.3.3 make it
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-13 15:58 UTC by Toralf Förster
Modified: 2014-06-13 17:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2014-06-13 15:58:51 UTC
while checking a python script of the cppcheck project I stumbled over the fact, that 3.2.5 gives :"ImportError?: No module named pygments" where 2.7.5 and 3.3.3 works fine

full story:

http://sourceforge.net/apps/trac/cppcheck/ticket/5914
Comment 1 Mike Gilbert gentoo-dev 2014-06-13 17:22:57 UTC
Have you installed dev-python/pygments with PYTHON_TARGETS containing python3_2?
Comment 2 Toralf Förster gentoo-dev 2014-06-13 17:27:39 UTC
tfoerste@n22 ~ $ eix -I pygments
[I] dev-python/pygments
     Available versions:  1.4 1.5 1.5-r1 1.6 ~1.6-r1 ~1.6_p20140324 {doc test PYTHON_TARGETS="pypy python2_6 python2_7 python3_2 python3_3 python3_4"}
     Installed versions:  1.6(04:19:24 PM 01/31/2014)(-doc -test PYTHON_TARGETS="python2_7 python3_3 -pypy2_0 -python2_6 -python3_2")
     Homepage:            http://pygments.org/ http://pypi.python.org/pypi/Pygments
     Description:         Pygments is a syntax highlighting package written in Python.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-13 17:29:41 UTC
(In reply to Toralf Förster from comment #2)
> PYTHON_TARGETS="python2_7 python3_3 -pypy2_0 -python2_6 -python3_2")
>      Homepage:            http://pygments.org/

You compiled it with PYTHON_TARGETS=-python3_2 and then you are surprised python3.2 complains about lacking a pygments module?
Comment 4 Toralf Förster gentoo-dev 2014-06-13 17:30:58 UTC
Therfore PEBKAC - sry