报错信息如下:
(venv) PS E:\python项目开发实战入门\第3章基于Flask的在线学习笔记\Notebook> python manage.py
Traceback (most recent call last):
File "manage.py", line 3, in <module>
from passlib.hash import sha256_crypt
File "E:\python项目开发实战入门\第3章基于Flask的在线学习笔记\Notebook\venv\lib\site-packages\passlib\hash.py", line 25, in <module>
from passlib.registry import _proxy
File "E:\python项目开发实战入门\第3章基于Flask的在线学习笔记\Notebook\venv\lib\site-packages\passlib\registry.py", line 12, in <module>
from passlib.ifc import PasswordHash
File "E:\python项目开发实战入门\第3章基于Flask的在线学习笔记\Notebook\venv\lib\site-packages\passlib\ifc.py", line 10, in <module>
from passlib.utils.decor import deprecated_method
File "E:\python项目开发实战入门\第3章基于Flask的在线学习笔记\Notebook\venv\lib\site-packages\passlib\utils\__init__.py", line 845, in <module>
from time import clock as timer
ImportError: cannot import name 'clock' from 'time' (unknown location)
(venv) PS E:\python项目开发实战入门\第3章基于Flask的在线学习笔记\Notebook>
数据库已经导入了,虚拟环境也创建了,依赖包也装完了。
我用的是python3.8,请问和这个有关系吗?