安装教程conda create新增默认的/envs下面,而不只是只能要额外指定路径 用-p #482
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
我看参考的安装文档里面,安装conda环境用的是,
$ conda create -p /your_path/env_name python=3.8
显式地使用 -p 选项来指定环境路径,但这样反而每次activate该环境的时候,因为该环境没有名字只有-path名,都要非常麻烦的写出 /your_path/env_name
$ source activate /your_path/env_name
替代方案 / Alternative Solutions:我新增了一条可选项,安装更丝滑
conda create -n env_name python=3.8