启动redis:
/usr/local/redis-6.2.6/src/redis-server
停止redis:
/usr/local/redis-6.2.6/src/redis-cli shutdown

创建和激活python虚拟环境
python3 -m venv venv
source venv/bin/activate

PyCharm->Preferences->Project:->Project Interpreter->add