TA的每日心情 | 开心 2023-2-4 11:33 |
---|
签到天数: 117 天 [LV.6]常住居民II
|
楼主 |
发表于 2018-11-17 15:05:07
|
显示全部楼层
$ q) C7 X, X1 s: ^1 w
我感觉还是用DictUnifier转换stardict格式的比较好,至少我这里还能显示个进度条,转换mdx我根本安装不了指定的工具。/ J* `4 ^& Y ~; a J$ h
- simon@suliveevildeMacBook-Pro:~% pip3 install lzo
. n a* u3 L! |; S. v1 d& ^6 v - Collecting lzo: t5 T6 g9 w& ~$ f+ K
- Could not find a version that satisfies the requirement lzo (from versions: )
/ i; X6 X: ?+ i - No matching distribution found for lzo
* R g V2 _. ~3 k& A' D( p - simon@suliveevildeMacBook-Pro:~% pip3 install python-lzo" K& x4 |' r6 Z7 w
- Collecting python-lzo9 {' H' b& D# h& I" R4 u# T
- Using cached https://files.pythonhosted.org/packages/af/60/41f17f56c920a956f1d4b9f04f9755c045b2b06b9dd933b33cdd37ab9fd7/python-lzo-1.12.tar.gz
; n; X% q/ r$ f' k. C+ r& u - Installing collected packages: python-lzo
1 ^3 a8 p* h' P - Running setup.py install for python-lzo ... error1 }. D5 f6 Z. Y. B; g+ u
- Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/kz/f_6vt83907qd12dy1ddv9_s00000gn/T/pip-install-1nrzux7z/python-lzo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/kz/f_6vt83907qd12dy1ddv9_s00000gn/T/pip-record-ngn7zpt5/install-record.txt --single-version-externally-managed --compile:' Y- c. |7 q$ k
- running install$ l( m3 Y& c# |: I/ d
- running build' l7 x0 m' K& z
- running build_ext% e/ e* p) B ?2 w
- building 'lzo' extension' X- _" b: W5 E. j# o
- creating build1 j! J& I+ o- ^3 i! o% i& J( i7 {
- creating build/temp.macosx-10.9-x86_64-3.7) `8 _% V" q: j+ Q
- gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/usr/include/lzo -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lzomodule.c -o build/temp.macosx-10.9-x86_64-3.7/lzomodule.o
( c8 x* {# \2 u8 H2 i, n; a - lzomodule.c:35:10: fatal error: 'lzo/lzo1x.h' file not found
# U9 M5 f3 }/ I8 E# G - #include <lzo/lzo1x.h>8 W% M- C) {, k. |+ h" E1 I6 n
- ^~~~~~~~~~~~~: X' h# t, n# \6 c
- 1 error generated.) H3 D1 C5 h {9 D1 h- K
- error: command 'gcc' failed with exit status 12 S3 A) Z/ e7 p0 R. i- ~
- 0 C5 V# O$ v! c+ y, Y. A
- ----------------------------------------
& R# e$ d' z4 q( q - Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/kz/f_6vt83907qd12dy1ddv9_s00000gn/T/pip-install-1nrzux7z/python-lzo/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/kz/f_6vt83907qd12dy1ddv9_s00000gn/T/pip-record-ngn7zpt5/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/kz/f_6vt83907qd12dy1ddv9_s00000gn/T/pip-install-1nrzux7z/python-lzo/
复制代码 |
|