ModuleNotFoundError: No module named ‘setuptools_rust‘

我在执行pip3 install webssh遇到以下的报错信息。

报错信息

Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-build-my9sai1o/cryptography/setup.py”, line 14, in
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-my9sai1o/cryptography/

解决办法

pip3 install -U pip setuptools

参考:
https://stackoverflow.com/questions/14426491/python-3-importerror-no-module-named-setuptools

你可能感兴趣的:(linux,排错,setuptools_rust)