$ curl -sf https://www.getlektor.com/installer.py | sudo python3
按照文档安装 Lektor CMS会导致错误。
已安装 Python 3.6。
sudo apt-get install python3-dev libssl-dev libffi-dev
安装OK。
sudo apt-get install imagemagick
安装OK。
错误:
Complete output from command python setup.py egg_info:
=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
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
=============================DEBUG ASSISTANCE==========================
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-wsfr8z04/cryptography/setup.py", line 14, in <module>
from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-wsfr8z04/cryptography/
请问有什么办法可以解决这个问题吗?