Python Conda Environments Scope - Stack Overflow

As it looks pretty clear the function of python conda's as isolationseparation for different sets

As it looks pretty clear the function of python conda's as isolation/separation for different sets of dependencies.

The question is about basic idea or best practices for scoping these environments as well as reusing.

For example for node's npm the scoping is pretty simple. Each project scoped by its specific folder have all its dependencies isolated. Or there's another scope global (User level) which shares something really general modules as tools etc.

In golang dependencies for any project/application are stored at the same global location defined by GOHOME env variable. Whatever package uses the same dependency module of specific version it refers the same codebase folder within GOHOME "registry".

So technically it seems GOHOME to be the analogue for conda's env isolation level. Still the same time there's no need for that anyway as different versions of any modules could be installed aside within the same GOHOME.

So actually what is the basic philosophy behind the scoping of conda envs. As from the one hand it looks pretty global (I'm not sure user or system level) so what are the boundaries for them to be isolated. Should it be

  • per project specific (why than it user wide)
  • per some domain specific area (e.g. ml, web apps)
  • per environment (e.g. dev/stage/prod)
  • is it tended to be reused the vary same libs/version across different envs/projects

In fact the functional idea is pretty straight forward as create env + use env. Still what is more confusing is where's the line between global and local. If it is not just per specific project so what are the idea for reusing the envs anyway.

So what are the best practices for scoping the conda envs.

Thanks

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744284124a4566715.html

相关推荐

  • Python Conda Environments Scope - Stack Overflow

    As it looks pretty clear the function of python conda's as isolationseparation for different sets

    8天前
    60

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信