i need Python 2.7. with TK and imaging with TK USE. I try to install a game which need it. I install the game with equo but want not run. TK i have installed with equo in Python but imaging gives not in equo. I try to emerge but all end with error message.
- Code: Select all
>>> Emerging (2 of 3) dev-python/imaging-1.1.7-r1
* Imaging-1.1.7.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* Please rebuild dev-lang/python:2.7 with the following USE flags enabled: tk
* ERROR: dev-python/imaging-1.1.7-r1 failed (setup phase):
* Please rebuild dev-lang/python:2.7 with the following USE flags enabled: tk
*
* Call stack:
* ebuild.sh, line 85: Called pkg_setup
* imaging-1.1.7-r1.ebuild, line 38: Called python_pkg_setup
* python.eclass, line 470: Called python_execute_function '-q' 'python_pkg_setup_check_USE_flags'
* python.eclass, line 1107: Called python_pkg_setup_check_USE_flags
* python.eclass, line 453: Called die
* The specific snippet of code:
* die "Please rebuild ${python_atom} with the following USE flags enabled: ${PYTHON_USE_WITH}"
*
* If you need support, post the output of `emerge --info '=dev-python/imaging-1.1.7-r1'`,
* the complete build log and the output of `emerge -pqv '=dev-python/imaging-1.1.7-r1'`.
* The complete build log is located at '/var/tmp/portage/dev-python/imaging-1.1.7-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/imaging-1.1.7-r1/temp/die.env'.
* Working directory: '/var/tmp/portage/dev-python/imaging-1.1.7-r1'
* S: '/var/tmp/portage/dev-python/imaging-1.1.7-r1/work/Imaging-1.1.7'
>>> Failed to emerge dev-python/imaging-1.1.7-r1, Log file:
>>> '/var/tmp/portage/dev-python/imaging-1.1.7-r1/temp/build.log'
When i emerge python, say me i should use newuse and update, but self when give both in emerge nothing happen.
- Code: Select all
gentoo-mobile siefke # emerge --newuse --update =dev-lang/python-2.7.2-r3
Calculating dependencies... done!
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
gentoo-mobile siefke #
The game:
- Code: Select all
siefke@gentoo-mobile ~ $ pysolfc
Traceback (most recent call last):
File "/usr/share/games/pysolfc/pysol.py", line 32, in <module>
sys.exit(main(sys.argv))
File "/usr/lib/python2.7/site-packages/pysollib/main.py", line 359, in main
r = pysol_init(app, args)
File "/usr/lib/python2.7/site-packages/pysollib/main.py", line 196, in pysol_init
app.loadImages1()
File "/usr/lib/python2.7/site-packages/pysollib/app.py", line 712, in loadImages1
im = loadImage(fn)
File "/usr/lib/python2.7/site-packages/pysollib/tile/tkutil.py", line 276, in makeImage
im = PIL_Image(file)
File "/usr/lib/python2.7/site-packages/pysollib/tile/tkutil.py", line 254, in __init__
ImageTk.PhotoImage.__init__(self, image)
File "/usr/lib/python2.7/site-packages/PIL/ImageTk.py", line 116, in __init__
self.paste(image)
File "/usr/lib/python2.7/site-packages/PIL/ImageTk.py", line 181, in paste
import _imagingtk
ImportError: No module named _imagingtk
Can me someone say what can i do?
Thank u. Regards
Silvio


