coldingcode
coldingcode
I try to @PreAuthorize("hasScope('admin')"),but has a tip is "Failed to evaluate expression 'hasScope('admin')'" from PreAuthorizeAuthorizationManager
I have already dealt with it myself, thanks
I think spring authorization server or resources server can support @PreAuthorize write SpEL like @PreAuthorize(“hasScope('read_message')”),but i just write it like @PreAuthorize(“hasAuthority('SCOPE_read_message')”) now, it's so ugly,DO YOU?
I set the context in webfilter How can i get the context from globalfilter
感谢各位,已成功安装。
 刚刚又换了1.7.1版本的试了,还是不行,在pip list中也是有的,可以看图
新写的python文件只写了一行import torch,运行起来也是找不到,这应该是我本地的问题了吧
 在conda中的python交互环境还是可以导入的
重新安装环境后依旧有这个问题,步骤如下: windows conda 创建 python 3.8.15 环境 根据源码安装,先后分别执行py setup.py install ; py setup.py develop(setup.py文件第20行被我设置成空字符串了) pip install -r requirement.txt 再回来py predicate.py 报错如下: 
这个问题解决了,又跑出来下一个问题,算了