TA的每日心情 | 开心 2023-2-4 11:33 |
---|
签到天数: 117 天 [LV.6]常住居民II
|
楼主 |
发表于 2018-11-17 15:05:07
|
显示全部楼层
- l4 B) m4 m! \. r; n! b0 s) ?我感觉还是用DictUnifier转换stardict格式的比较好,至少我这里还能显示个进度条,转换mdx我根本安装不了指定的工具。* F$ t3 l+ ~% u8 D: p. v! h/ C! C
- simon@suliveevildeMacBook-Pro:~% pip3 install lzo v8 a. ~, M2 b# ^5 b0 }# N/ M8 E6 H
- Collecting lzo5 C3 r3 r, N7 Y* v1 h( B4 O3 {
- Could not find a version that satisfies the requirement lzo (from versions: )
& s2 ]& u) I6 `6 ]! j) z - No matching distribution found for lzo
# {! q$ G( I, j5 u - simon@suliveevildeMacBook-Pro:~% pip3 install python-lzo
: @5 d" \3 T* h- a: `! X9 L - Collecting python-lzo
$ |* R7 ~, D% [& d' I: _% @" t# n; ? - Using cached https://files.pythonhosted.org/packages/af/60/41f17f56c920a956f1d4b9f04f9755c045b2b06b9dd933b33cdd37ab9fd7/python-lzo-1.12.tar.gz' J: {# l& m1 F* @6 w; X) Z
- Installing collected packages: python-lzo
7 _6 w3 U1 L9 d0 V3 F' m - Running setup.py install for python-lzo ... error
: t1 B5 o5 J7 A- 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:4 \0 y' Z o& G; H
- running install
& S) O3 p( G' O3 Y - running build
2 v, l2 B: c. w. y0 D& n& k9 M/ q - running build_ext% n$ h% `% z, V! _% K7 i
- building 'lzo' extension
& [; t( |( q# Y& D# o2 I, r# F - creating build5 \8 I6 \0 ], h, b2 s
- creating build/temp.macosx-10.9-x86_64-3.7
' s! I# K9 ], a% R% w) P - 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
7 P. @' r: W4 d - lzomodule.c:35:10: fatal error: 'lzo/lzo1x.h' file not found7 W% T8 @ l+ K. K2 M: {' b
- #include <lzo/lzo1x.h>6 P+ U7 }0 m3 m" G
- ^~~~~~~~~~~~~5 R1 E2 F9 U/ `7 A$ S
- 1 error generated.
) K T+ J3 \ N - error: command 'gcc' failed with exit status 1
+ A5 @3 B" E* z9 I* S8 N" a* E' I
/ ]" F+ ^! p% s/ B1 ?7 F- ----------------------------------------
1 M; ~7 k5 l) {2 _, A - 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/
复制代码 |
|