TA的每日心情 | 开心 2023-2-4 11:33 |
---|
签到天数: 117 天 [LV.6]常住居民II
|
楼主 |
发表于 2018-11-17 15:05:07
|
显示全部楼层
& Q: N: i' }& E1 ~我感觉还是用DictUnifier转换stardict格式的比较好,至少我这里还能显示个进度条,转换mdx我根本安装不了指定的工具。1 ^+ x! Q# ~8 D5 c4 r: @. X1 Q
- simon@suliveevildeMacBook-Pro:~% pip3 install lzo
0 g- w$ }) z5 r4 V - Collecting lzo
4 s+ p% ~# z, b2 I - Could not find a version that satisfies the requirement lzo (from versions: )
5 ^! ` c4 ~( H, y- ^8 g# T - No matching distribution found for lzo7 R' g& f/ e7 ^( G' U
- simon@suliveevildeMacBook-Pro:~% pip3 install python-lzo8 F+ P9 Q5 ^$ h; [! T
- Collecting python-lzo
. d* v, Z" c% x" Z$ c - Using cached https://files.pythonhosted.org/packages/af/60/41f17f56c920a956f1d4b9f04f9755c045b2b06b9dd933b33cdd37ab9fd7/python-lzo-1.12.tar.gz
+ s: j! `: Q7 q% \4 ?: J* V - Installing collected packages: python-lzo
$ ^/ |5 Q7 N, O; b - Running setup.py install for python-lzo ... error
3 G6 e3 q3 s$ t' F. Z - 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:, ]8 U. Z" D& O# }# `
- running install8 z6 P6 T4 O/ ]
- running build
4 f9 Y: L# B: g5 p* j - running build_ext. y$ f- s2 u4 e) w- j
- building 'lzo' extension
: Y! ]3 P# @. T; a, g, n) T - creating build: }- c) i* w% y% p
- creating build/temp.macosx-10.9-x86_64-3.7 l. Y3 _0 P) J+ u
- 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. F3 J% p% s2 n
- lzomodule.c:35:10: fatal error: 'lzo/lzo1x.h' file not found$ Z7 S4 h& C8 M: z( B- n
- #include <lzo/lzo1x.h>- k, w) N; Z/ q. n
- ^~~~~~~~~~~~~3 H$ l) c; l' C2 N
- 1 error generated.
% E( q G+ O' ]! j- v - error: command 'gcc' failed with exit status 1
2 Z, U: h. X1 X5 {: g0 K - # W7 u4 W t$ Z- h. h' E
- ----------------------------------------+ i, [4 J9 z- 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/
复制代码 |
|