gpt4 book ai didi

linux - 带有依赖加密的错误Selenium Wire Linux

转载 作者:行者123 更新时间:2023-12-03 11:46:29 26 4
gpt4 key购买 nike

我在Linux服务器上安装seleniumwire库时遇到问题,它向我发送密码时出现了错误,我已经尝试解决它,但是我没有能力,有什么想法吗?

Caused by:
process didn't exit successfully: `rustc --crate-name syn --edition=2018 /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.60/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=6cea30fcaa1c5280 -C extra-filename=-6cea30fcaa1c5280 --out-dir /tmp/pip-build-h7zcmi4l/cryptography/src/rust/target/release/deps -L dependency=/tmp/pip-build-h7zcmi4l/cryptography/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-build-h7zcmi4l/cryptography/src/rust/target/release/deps/libproc_macro2-5d343acc4305025a.rmeta --extern quote=/tmp/pip-build-h7zcmi4l/cryptography/src/rust/target/release/deps/libquote-f7a0a97a31c8d8ce.rmeta --extern unicode_xid=/tmp/pip-build-h7zcmi4l/cryptography/src/rust/target/release/deps/libunicode_xid-b5e42475a0c5edb5.rmeta --cap-lints allow --cfg syn_disable_nightly_tests` (signal: 9, SIGKILL: kill)

=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cryptography:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Read https://cryptography.io/en/latest/installation.html for specific
instructions for your platform.
3) Check our frequently asked questions for more information:
https://cryptography.io/en/latest/faq.html
4) Ensure you have a recent Rust toolchain installed:
https://cryptography.io/en/latest/installation.html#rust
5) If you are experiencing issues with Rust for *this release only* you may
set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
=============================DEBUG ASSISTANCE=============================

error: cargo failed with code: 101


----------------------------------------
Can't rollback cryptography, nothing uninstalled.
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-h7zcmi4l/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-p2wos9g_-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-h7zcmi4l/cryptography/

最佳答案

rustc使用SIGKILL编译失败。这可能是由于它使用了过多的内存和OOM manager deciding to kill it导致的,因为syn crate 很大,并且需要大量RAM进行编译。获得更多的RAM或增加交换空间的数量将使编译完成。

关于linux - 带有依赖加密的错误Selenium Wire Linux,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66456300/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com