我在执行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
说明:一般此类缺少模块的错误都是包的版本问题,基本都是升级或者降级包就可以解决
- ModuleNotFoundError setuptools_rust setuptools module namedmodulenotfounderror setuptools_rust setuptools modulenotfounderror module named 39 modulenotfounderror watchdog module named modulenotfounderror module kornia named modulenotfounderror packaging module named setuptools_rust modulenotfounderror module pandas named modulenotfounderror module infer named modulenotfounderror module named torch modulenotfounderror module lanms named