- Create folder
YOUR_CONDA_ROOT/YOUR_ENV_NAME/etc/conda/activate.d/
. - Put your scripts under this folder and it will be execute automatically when you start your virtual environment.
How to run a script automatically when starting a conda environment
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- This project was bootstrapped with Create React App. Belo...
- Introduction A flexible and versatile programming languag...
- 1. Create a virtual environment A. Why suing this? Since ...
- 背景 针对离线环境存在python版本不匹配,安装三方库缓慢或无外网的情况下,需要制作可移植的解释器及其附带的库文...
- Getting Started Use the Current Stable Version (7.1) Buil...