Closed behind1231 closed 9 years ago
it seems your english is somehow limited but you should understand the following:
you're asking help the wrong way. i'm not in the mood of explaining why but i hope someone does it instead.
obviously, you didn't read https://github.com/SFTtech/openage/blob/master/building.md, because there is numpy clearly stated as a media convert script dependency on line 3 of the list.
sudo pacman -S python-numpy
should fix it.
/tag invalid /close /gaben /(?)
[root@localhost openage]# sudo pacman -S python3-Pillow 错误:未找到目标:python3-Pillow
0- if you want non-chinese people understand your program's output, you should put LANG=C before your command so the output is in english, for example:
[root@localhost openage]# LANG=C pacman -S python3-Pillow
1- if you already are root (because of the root part and the # on your prompt) you don't need sudo
2- package names on arch are lowercase, and you can search with pacman -Ss keyword1 keyword2
, like this:
$ pacman -Ss python pillow
community/python-pillow 2.6.1-1 [installed]
Python Imaging Library (PIL) fork. Python3 version.
community/python2-pillow 2.6.1-1 [installed]
Python Imaging Library (PIL) fork. Python2 version.
3- python packages on arch have the python-
prefix when python3 and python2-
when python2
so, you probably want to do sudo pacman -S python-pillow
(for fast support you might like using an irc client to connect to irc.freenode.net and joining the room #sfttech :smile: )
As @franciscod has stated, please follow the instructions in building.md
. It would also be nice if you wouldn't paste hundreds of log lines. As an arch user, you should have basic google skills (otherwise you might want a different distro).. for example a google search for 'arch linux python3 pillow' yields the package name python-pillow
as the first result. @franciscod it seems only people with push permissions rights can close/tag issues...
behind@localhost:~/SFTtech/openage$ make media AGE2DIR=/home/behind/Downloads/Age2HD buildsystem/runinenv PYTHONPATH=prependpath:py -- python3 -m openage.convert -v media -o "assets/converted" "/home/behind/Downloads/Age2HD" graphics:. terrain:. sounds0:. sounds1:. gamedata0:. gamedata1:. gamedata2:. interface:. setting age2 input directory to /home/behind/Downloads/Age2HD DRS header [/home/behind/Downloads/Age2HD/Data/graphics.drs] copyright: Copyright (c) 1997 Ensemble Studios. version: 1.00 ftype: tribe table count: 1 file offset: 21292
DRS header [/home/behind/Downloads/Age2HD/Data/interfac.drs] copyright: Copyright (c) 1997 Ensemble Studios. version: 1.00 ftype: tribe table count: 3 file offset: 4864
DRS header [/home/behind/Downloads/Age2HD/Data/sounds.drs] copyright: Copyright (c) 1997 Ensemble Studios. version: 1.00 ftype: tribe table count: 1 file offset: 12328
DRS header [/home/behind/Downloads/Age2HD/Data/sounds_x1.drs] copyright: Copyright (c) 1997 Ensemble Studios. version: 1.00 ftype: tribe table count: 1 file offset: 4456
DRS header [/home/behind/Downloads/Age2HD/Data/gamedata_x1.drs] copyright: Copyright (c) 1997 Ensemble Studios. version: 1.00 ftype: tribe table count: 1 file offset: 988
DRS header [/home/behind/Downloads/Age2HD/Data/gamedata_x1_p1.drs] copyright: Copyright (c) 1997 Ensemble Studios. version: 1.00 ftype: tribe table count: 2 file offset: 172
DRS header [/home/behind/Downloads/Age2HD/Data/terrain.drs] copyright: Copyright (c) 1997 Ensemble Studios. version: 1.00 ftype: tribe table count: 1 file offset: 400
DRS header [/home/behind/Downloads/Age2HD/Data/gamedata.drs] copyright: Copyright (c) 1997 Ensemble Studios. version: 1.00 ftype: tribe table count: 1 file offset: 652
setting write dir to assets/converted reading blendomatic data from Data/blendomatic_x1.dat Traceback (most recent call last): File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.4/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/behind/SFTtech/openage/py/openage/convert/main.py", line 55, in
main()
File "/home/behind/SFTtech/openage/py/openage/convert/main.py", line 52, in main
args.handler(args)
File "/home/behind/SFTtech/openage/py/openage/convert/mediafile.py", line 124, in media_convert
blend_data.save(os.path.join(asset_folder, "blendomatic.dat/"), output_formats)
File "/home/behind/SFTtech/openage/py/openage/convert/blendomatic.py", line 239, in save
for idx, texture in enumerate(self.get_textures()):
File "/home/behind/SFTtech/openage/py/openage/convert/blendomatic.py", line 228, in get_textures
return [ Texture(blending_mode) for blending_mode in self.blending_modes ]
File "/home/behind/SFTtech/openage/py/openage/convert/blendomatic.py", line 228, in
return [ Texture(blending_mode) for blending_mode in self.blending_modes ]
File "/home/behind/SFTtech/openage/py/openage/convert/texture.py", line 100, in init
for tile in input_data.alphamasks
File "/home/behind/SFTtech/openage/py/openage/convert/texture.py", line 100, in
for tile in input_data.alphamasks
File "/home/behind/SFTtech/openage/py/openage/convert/blendomatic.py", line 18, in get_picture_data
import numpy
ImportError: No module named 'numpy'
Makefile:37: recipe for target 'media' failed
make: *\ [media] Error 1