37创客科创中心

 找回密码
 立即注册
查看: 313|回复: 0

250802 MQTT

[复制链接]

194

主题

324

帖子

2399

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2399
发表于 2025-8-2 12:27:41 | 显示全部楼层 |阅读模式
首先安装miniconda环境:
windows powershell
  1. wget "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe" -outfile ".\miniconda.exe"
  2. Start-Process -FilePath ".\miniconda.exe" -ArgumentList "/S" -Wait
  3. del .\miniconda.exe
复制代码
windows command prompt

  1. curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -o .\miniconda.exe
  2. start /wait "" .\miniconda.exe /S
  3. del .\miniconda.exe
复制代码

安装miniconda
下载:

环境变量:
  1. d:\miniconda3
  2. d:\miniconda3\Scripts
  3. d:\miniconda3\Library\bin
复制代码

环境列表
  1. conda info -e
复制代码

创建环境
  1. conda create --name evn-name python=3.9 -y
复制代码

安装pip
  1. python -m pip install --upgrade pip
复制代码

安装依赖库
  1. pip install -r requirements.txt
复制代码

pip freeze > requirements.txt

激活环境
  1. conda activate env-name
复制代码

删除环境
  1. conda env remove --name env-name
复制代码





本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|37创客科创中心

GMT+8, 2025-12-10 05:10 , Processed in 0.133835 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表