Python netmiko无法安装pynacl的问题

2024-10-01 15:36:03 发布

您现在位置:Python中文网/ 问答频道 /正文

希望你能帮忙。我是Ubuntu的新手,所以提前道歉

我正在运行Ubuntu16.04,并试图在python3.5.2中安装netmiko

我遇到pynacl问题,导致安装失败。我收到的错误消息类型如下:

/tmp/pip-install-d4reycz5/pynacl/src/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.c: In function 'crypto_hash_sha256.constprop': /tmp/pip-install-d4reycz5/pynacl/src/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.c:205:31: warning: iteration 64 invokes undefined behavior [-Waggressive-loop-optimizations] state->buf[r + i] = in[i]; ^ /tmp/pip-install-d4reycz5/pynacl/src/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.c:204:9: note: containing loop for (i = 0; i < inlen; i++) { ^

CC       stream2.o
CCLD     stream2

/tmp/pip-install-d4reycz5/pynacl/src/libnaid/src/libnaid/crypto_hash/sha256/cp/hash_sha256_cp.c:在函数“crypto_hash_sha256.constprop”中: /tmp/pip-install-d4reycz5/pynacl/src/libnadium/src/libnadium/crypto_hash/sha256/cp/hash_sha256_cp.c:205:31:警告:迭代64调用未定义的行为[-waggresive循环优化] 国家->;buf[r+i]=in[i]; ^

/tmp/pip-install-d4reycz5/pynacl/src/libnaid/src/libnaid/crypto_hash/sha256/cp/hash_sha256_cp.c:204:9:注意:包含循环 对于(i=0;i<;inlen;i++){ ^

/tmp/pip-install-d4reycz5/pynacl/src/libnail/build aux/test driver:107行:19878非法指令(内核转储)“$@”>;$log\u文件2>;>;&;1

失败:框 /tmp/pip-install-d4reycz5/pynacl/src/libnail/build aux/test驱动程序:第107行:19885非法指令(内核转储)“$@”>;$log\u文件2>;>;&;1

失败:框2 /tmp/pip-install-d4reycz5/pynacl/src/libnail/build aux/test驱动程序:第107行:19892非法指令(内核转储)“$@”>;$log\u文件2>;>;&;1

失败:第7框 /tmp/pip-install-d4reycz5/pynacl/src/libnail/build aux/test驱动程序:第107行:19899非法指令(内核转储)“$@”>;$log\u文件2>;>;&;1

失败:第8框 /tmp/pip-install-d4reycz5/pynacl/src/libnail/build aux/test驱动程序:第107行:19906非法指令(内核转储)“$@”>;$log\u文件2>;>;&;1

失败:简单 /tmp/pip-install-d4reycz5/pynacl/src/libnail/build aux/test驱动程序:第107行:19913非法指令(内核转储)“$@”>;$log\u文件2>;>;&;1

失败:框2 /tmp/pip-install-d4reycz5/pynacl/src/libnail/build aux/test驱动程序:第107行:19920非法指令(内核转储)“$@”>;$log\u文件2>;>;&;1 失败:箱盖密封

我相信我有所有必要的模块,如LibNasdium等。 期待您的来信

菲尔


Tags: installpiptestgtbuildsrchashcrypto

热门问题