安装正确的软件包后出现上述错误
Python --版本
Python 3.6.9
安装命令
pip3 安装 httpx
点 3 列表
anyio (3.6.1)
async-generator (1.10)
Brotli (1.0.9)
certifi (2022.6.15)
charset-normalizer (2.1.0)
contextvars (2.4)
dataclasses (0.8)
dnspython (2.2.1)
email-validator (1.2.1)
h11 (0.12.0)
httpcore (0.14.7)
httpx (0.22.0)
idna (3.3)
immutables (0.18)
MarkupSafe (2.0.1)
pip (9.0.1)
pkg-resources (0.0.0)
pydantic (1.9.1)
python-dateutil (2.8.2)
rfc3986 (1.5.0)
setuptools (39.0.1)
six (1.16.0)
sniffio (1.2.0)
typing-extensions (4.1.1)
validator (0.7.1)
Run Code Online (Sandbox Code Playgroud)
在虚拟环境交互式 shell 中,该包也可以正常工作
(env) PEOPLE\saurabhkamble@lp7948:/var/www/vip_select_shaadi_api$ uvicorn main:app --reload
INFO: Will watch for changes in these directories: ['/var/www/vip_select_shaadi_api']
INFO: …Run Code Online (Sandbox Code Playgroud) 我正在处理忘记密码,我想使用rand()发送新密码.将密码发送到客户电子邮件后,我想用哈希更新新密码,但我不知道如何做到这一点?请帮帮我解决这个问题?
码:
$hash = Security::hash('CakePHP Framework');
Run Code Online (Sandbox Code Playgroud)
错误:找不到类'App\Controller\Security'