white-shiro-bai / ghost_sa

open_server for sensorsdata ghost_sa(鬼策)的用途是接收 神策SDK 上报的埋点数据,移动广告监测,站外阅读监测,短链创建与解析,反爬,接入控制与管理,用户分群与召回等功能
325 stars 78 forks source link

安装问题 #47

Open shenhongbin7854 opened 1 year ago

shenhongbin7854 commented 1 year ago

ModuleNotFoundError: No module named 'component.db_op'; 'component' is not a package python执行数据库初始化错误,这个需要怎么解决? 是pythob2,还是python3 运行

white-shiro-bai commented 1 year ago

python3

shenhongbin7854 commented 1 year ago
图片

下载master, 自行安装第四步骤,直接报找不到模块 需要特殊处理么

white-shiro-bai commented 1 year ago

python3换到3.7以上试一下?

shenhongbin7854 commented 1 year ago

当前是3.6 我换3.10试一下, 项目里面最好有个pip安装包的文件,不用执行的时候一个一个找 flask,pymysql,pillow 这种列表

white-shiro-bai commented 1 year ago

pip install -r tools/requirement.txt