Open LeiYangGH opened 3 months ago
(sandm) PS D:\pv> sandman2ctl mysql://user:password@my.com:3306/database Traceback (most recent call last): File "D:\py38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "D:\py38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "D:\pv\sandm\Scripts\sandman2ctl.exe\__main__.py", line 4, in <module> File "D:\pv\sandm\lib\site-packages\sandman2\__init__.py", line 2, in <module> from sandman2.app import get_app, db, AutomapModel File "D:\pv\sandm\lib\site-packages\sandman2\app.py", line 5, in <module> from sqlalchemy.sql import sqltypes File "D:\pv\sandm\lib\site-packages\sqlalchemy\__init__.py", line 8, in <module> from . import util as _util # noqa File "D:\pv\sandm\lib\site-packages\sqlalchemy\util\__init__.py", line 14, in <module> from ._collections import coerce_generator_arg # noqa File "D:\pv\sandm\lib\site-packages\sqlalchemy\util\_collections.py", line 16, in <module> from .compat import binary_types File "D:\pv\sandm\lib\site-packages\sqlalchemy\util\compat.py", line 331, in <module> time_func = time.clock AttributeError: module 'time' has no attribute 'clock' (sandm) PS D:\pv> pip freeze blinker==1.8.2 click==8.1.7 colorama==0.4.6 Flask==3.0.3 Flask-Admin==1.6.1 Flask-HTTPAuth==4.8.0 Flask-SQLAlchemy==2.4.0 importlib_metadata==8.0.0 itsdangerous==2.2.0 Jinja2==3.1.4 MarkupSafe==2.1.5 sandman2==1.2.3 SQLAlchemy==1.3.3 Werkzeug==3.0.3 WTForms==3.1.2 zipp==3.19.2 (sandm) PS D:\pv>
i'm using win11 and python3.8
i'm using win11 and python3.8