自学内容网 自学内容网

conda管理多版本python,shell如何使用多版本python

conda管理多版本python,shell如何使用多版本python

現在由於需要使用不同版本的python,因此對應的shell腳本中也需要進行對應的變更
運行如下代碼即可:

#!/bin/bash
source /opt/module/miniconda3/etc/profile.d/conda.sh
conda activate pythonThirteen
python /opt/module/python_shell/huaweicloud/service.py

原文地址:https://blog.csdn.net/m0_37759590/article/details/137713234

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!