这个错误信息不是未知的,我已经重新安装了许多软件包,但到目前为止还没有find解决scheme。
我从命令pip install cryptography得到以下错误
/usr/include/python2.7/pyport.h:849:2: error: #error "LONG_BIT deFinition appears wrong for platform (bad gcc/glibc config?)." #error "LONG_BIT deFinition appears wrong for platform (bad gcc/glibc config?)." ^
在一个长长的回溯结束时,它说:
distutils.errors.distutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' Failed with exit status 1 ---------------------------------------- Cleaning up... Command /usr/bin/python -c "import setuptools,tokenize;__file__='/tmp/pip_build_root/cryptography/setup.py';exec(compile(getattr(tokenize,'open',open)(__file__).read().replace('rn','n'),__file__,'exec'))" install --record /tmp/pip-xXOpFq-record/install-record.txt --single-version-externally-managed --compile Failed with error code 1 in /tmp/pip_build_root/cryptography Storing debug log for failure in /root/.pip/pip.log
python-dev,python2.7-dev和python3-dev存在。
通过LLVM或GCC定位WinRT
libtool与libstdc ++的32位版本链接,所以在64位目标平台上安装了多个版本的gcc时
编译用于Windows的sqlite(64位)
用Eclipse CDTconfigurationMinGW
确定进程ID是否存在进程
摆脱“gcc – / usr / bin / ld:warning lib找不到”
MinGW:“gcc不被识别为内部或外部命令”
用ldd -u,输出是“Unused direct dependencies:/lib64/libc.so.6”,但是我真的用printf()
确保你有适合python的位。 就我而言,我在我的64位centos上安装了32位的aaconda python,导致了这个问题。 安装正确的位版本的Python固定它。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。