jqdatasdk icon indicating copy to clipboard operation
jqdatasdk copied to clipboard

install failed in mac osx

Open wuyongyi opened this issue 7 years ago • 1 comments

在linux、win32都可以正确安装,在mac osx上出现错误 ''' /usr/local/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.6/thriftpy/transport/cybase.o -o build/lib.macosx-10.6-intel-3.6/thriftpy/transport/cybase.cpython-36m-darwin.so ld: in '/usr/local/lib/libunwind.dylib', file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libunwind.dylib for architecture i386 clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/usr/local/bin/clang' failed with exit status 1

----------------------------------------

Command "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/var/folders/64/04r5rv8j2m96w_q58j125jhw0000gn/T/pip-install-onho986o/thriftpy/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/64/04r5rv8j2m96w_q58j125jhw0000gn/T/pip-record-2lr9ldu5/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/64/04r5rv8j2m96w_q58j125jhw0000gn/T/pip-install-onho986o/thriftpy/ '''

wuyongyi avatar May 17 '18 06:05 wuyongyi

换成gcc编译呢?

https://blog.csdn.net/u010167269/article/details/51951582

buaawcy avatar May 18 '18 02:05 buaawcy