# cs-python **Repository Path**: cpc-lib/cs-python ## Basic Information - **Project Name**: cs-python - **Description**: 测试工具 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-27 - **Last Updated**: 2026-03-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 卸载debian上的python3 apt-cache depends python3 sudo apt-get remove --purge python3 sudo apt-get autoremove sudo apt-get update 配置环境变量 修改/etc/profile 添加 export PATH="/usr/bin/python3:$PATH" #python安装 https://www.cnblogs.com/KakuCicada/p/15767914.html 设置环境变量 export PYTHONUSERBASE=/www/python/python3 生成依赖文件 pip freeze > requirements.txt 下载依赖环境 pip install -r requirements.txt 创建虚拟环境 python3 -m venv ftp-demo 激活与失效虚拟环境 source /xxx/bin/activate deactivate https://blog.csdn.net/zhangxu1998lq/article/details/141320437 后台启动某个程序 nohup python3 server.py > startup.log 2>&1 &