想再请教一个关于 Pycharm 下配置 Anaconda 的问题,晚上大部分的教程都是解释在 interpreter 中选择 virtualenv,然后在 virtualenv 里面在选择 anaconda 的 python 路径,但是 pycharm 里面还有一个 Conda env,里面也可以配置,这两个环境有什么区别。
看了 stackflow 的
https://stackoverflow.com/questions/51978816/what-is-the-difference-between-pycharm-virtual-environment-and-anaconda-environm里面总结到:
To sum up:
Conda Environment:
- Manage not only Python packages but also different Python versions and system-wide dependencies.
- Envs are located in user-wide directories.
- Less envs.
Virtualenv Environment:
- Manage Python packages. Main purpose is to segement dependencies for every applications.
- Envs are usually located in project-wide directories.(Although pipenv creates env in user-wide directories by
default, many people think in project directories should be the default.)
- Much more envs.(A new env for every application)
不吹牛的说- -#,这里每个字我都认识。。。但是还是不太懂他们的区别,什么是 system-wide dependencies 和 applications-wide dependencies?
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/525203
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.