Abhilash Raj wrote:
On Sat, Feb 20, 2021, at 9:28 AM, Abhilash Raj wrote:
On Sat, Feb 20, 2021, at 8:51 AM, Brian Carpenter wrote:
As usual, a new issue has arisen with installing Mailman 3. It seems Postorius and Hyperkitty want to install a module called cryptography. Which I am unable to install because of this:
error: Can not find Rust compiler
You need to install a Rust compiler. Depending on which distro you are using, you can run
sudo apt install rustc
or same command withyum
.
[...]
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.
Its also possible to install an older version of Cryptography before installing Mailman dependencies which doesn't require this. Version 3.3.2 is the version I have been using recently at work.
On a side note I have been experimenting with using underlying Debian packages for some of the Python dependencies and using the --system-site-packages option when creating the venv to simplify installation and reduce the number of compilation tools required on the system.
Thanks. Andrew.