比如,我们要给用户分配SE_SERVICE_LOGON_NAME安全策略
如果需要删除用户的的某个安全策略
最后看看查询用户安全策略
(2, 'LsaEnumerateAccountRights', 'The system cannot find the file specified.')
https://wrf-python.readthedocs.io/en/latest/installation.html
1)本人电脑为MacBook Pro,系统为macOS Catalina 10.15.6,首先在anaconda中新建一个环境,若按上图顺序直接采用conda install 安装,在导入wrf包时会出现如下问题:
这可能是因为各种包的依赖关系没有处理好,在安装过程中有的包使用conda install安装,有的使用conda install -c conda-forge安装,所以中间总会存在要解析是否存在包冲突的问题。
2)建议全部统一用conda install -c conda-forge安装,安装顺序为wrf-python>pynio>pyngl>ne4cdf4>matplotlib>cartopy>basemap,其他的依赖包会自动安装。采用这种方法,直至安装到cartopy之前均未出现问题,但在conda install -c conda-forge basemap时,出现:
即与前面的包出现冲突而导致安装不成功。再次,使用conda install -c anaconda basemap安装时出现同样的问题。直接用conda install basemap时也会出现:
所以目前能够正常使用其他的包,但basemap却不能正常使用。此外,若将basemap的安装顺序调前,其他的包在安装时也会出现相应的问题,暂时无解,有待更新。