背景简介
使用 Conda 创建 Python 环境。
环境配置
- 系统:Debian 6.1.66-1 (2023-12-09) x86_64 GNU/Linux
详细步骤
创建conda环境
$ conda create -n chatglm3-env python=3.10
......
Preparing transaction: done                                                                                                                                                                                                                                                     
Verifying transaction: done                                                                                                                                                                                                                                                     
Executing transaction: done                                                                                                                                                                                                                                                     
#                                                                                                                                                                                                                                                                               
# To activate this environment, use                                                                                                                                                                                                                                             
#                                                                                                                                                                                                                                                                               
#     $ conda activate chatglm3-env
#
# To deactivate an active environment, use
#
#     $ conda deactivate
启用conda环境
$ conda activate chatglm3-env
(chatglm3-env) myname@myserver: ~$
以上便是本文的全部内容,感谢您的阅读。