On 2/20/21 12:35 PM, Abhilash Raj wrote:
Also, it is possible depending on your distro that packaged Rust compiler is too old. cryptography requires a more recent version of Compiler, 1.45 is the min supported version I think.
FAQ:https://cryptography.io/en/latest/faq.html#installing-cryptography-fails-wit...
You can skip the Rust components by setting
CRYPTOGRAPHY_DONT_BUILD_RUST
but that would work just for this release and you won't be able to skip from the next release of cryptography.
I am going to need further assistance here. It is easy enought to install the rust compiler using rustup but I am still getting the same error:
=============================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: Can not find Rust compiler
Running root@list:/opt/mailman/mm# rustc --version returns:
rustc 1.50.0 (cb75ad5db 2021-02-10)
I am doing this as the mailman user using a virtual environment.
-- Brian Carpenter Harmonylists.com Emwd.com