logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

为pycharm添加redis模块的方法

为pycharm添加redis/redis-py-cluster模块的方法启动pycharm, View->Tool Windows->Terminal 打开终端界面(一般在pycharm的左下角)2输入pip install redis 回车3完成后出现 Successfully installed redis-X.X.X然后在 python console输入import redi

#python#redis
安装完redis-py-cluster,导入模块报错ImportError: cannot import name ‘StrictRedisCluster‘

环境信息redis : 3.0.1redis-py-cluster : 2.0.0原因通过pip直接安装的redis驱动都采用的最新版本,而最新版的redis-py-cluster模块中根本没有StrictRedisCluster。解决方案降版本,同时还要考虑版本兼容性,推荐采用的是redis-2.10.6和redis-py-cluster-1.3.5pip install redis==2.10

#python#redis
解决【ifcfg-ens33】网卡一直无法启动问题

虚拟机安装完图形界面后,在某次重启后突然不能用ssh连接了,一看网卡没启动我的是Cent os 7.3当执行 ifup ens33启动网卡出现如下报错:[he@python_centos ~]$ ifup ens33Error: failed to load connection: access denied.Users cannot control this device.解决办法如下:[he@

#linux
解决【ifcfg-ens33】网卡一直无法启动问题

虚拟机安装完图形界面后,在某次重启后突然不能用ssh连接了,一看网卡没启动我的是Cent os 7.3当执行 ifup ens33启动网卡出现如下报错:[he@python_centos ~]$ ifup ens33Error: failed to load connection: access denied.Users cannot control this device.解决办法如下:[he@

#linux
Linux Centos7 中的 网卡配置图形界面命令 nmtui

nmtui字符界面图形模式配置输入命令nmtui即可[root@localhost ~]$ nmtui

#linux
到底了