Results comments of 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

感谢各位,已成功安装。

![image](https://user-images.githubusercontent.com/23272421/211282096-5dbd6f8b-de7b-4b05-aedb-47fb4e5c5e29.png) 刚刚又换了1.7.1版本的试了,还是不行,在pip list中也是有的,可以看图

新写的python文件只写了一行import torch,运行起来也是找不到,这应该是我本地的问题了吧

![image](https://user-images.githubusercontent.com/23272421/211289327-24942100-de87-43d4-8b01-7d3f77e7af73.png) 在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 报错如下: ![image](https://user-images.githubusercontent.com/23272421/211443176-3cd6ef2b-d7ee-45fc-8787-011b2b2b04c7.png)

这个问题解决了,又跑出来下一个问题,算了