简体   繁体   English

Anaconda 和 miniconda:使用 jupyter notebook 或 pycharm 冲突?

[英]Anaconda and miniconda : Conflict in using jupyter notebook or pycharm?

I'm new to the programming environments.我是编程环境的新手。 Last year, I had a course where we installed (without understanding what we were doing) miniconda with python 3.7 and jupyter notebook.去年,我有一门课程,我们使用 python 3.7 和 jupyter 笔记本安装(不了解我们在做什么)miniconda。 This year I need anaconda so I installed it with the latest version of python.今年我需要 anaconda,所以我安装了最新版本的 python。 My question is: will there be a conflict between anaconda and miniconda if I use the shell commands?我的问题是:如果我使用 shell 命令,anaconda 和 miniconda 之间会不会有冲突? When I type "jupyter notebook" in the shell, will it open with miniconda which I installed first or anaconda?当我在 shell 中键入“jupyter notebook”时,它会打开我先安装的 miniconda 还是 anaconda?

Are you on a linux system?您使用的是 linux 系统吗? You can try with你可以试试

type jupyter-notebook

This will show you where the binary is located.这将向您显示二进制文件的位置。 For example ~/miniconda3/bin.例如 ~/miniconda3/bin。 The path of the bin-folder of your anaconda/miniconda installation is usually added to your path-variable in the ~/.bashrc file. anaconda/miniconda 安装的 bin 文件夹的路径通常添加到 ~/.bashrc 文件中的路径变量中。

PS: You can find out which version of python/python3 you are using by typing PS:你可以通过输入找到你使用的python/python3版本

python --version

or或者

python3 --version

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM