anaconda - Why does jupyter display python[root]? -


when try create new notebook in jupyter, drop down menu shows python[root] instead of python[3]. why this? problematic? i'm using python 3.5.2.

i'm using anaconda install on windows. 4.0.0 download did not have issue. grabbed 4.1.1 installer new machine , encountered problem.

traced 1 down while...

it took while because looking user-alterable .json-stored solution, kernel.json files created when new kernel added.

(for example, if want both python 2.7 , python 3.5 appear, need install 1 of versions, add other kernel. new kernel has kernel.json file can edited via conda interface or directly via text editor.)

what found (so far) "python [root]" hard-coded (!?!), you've got jump .py file edit. simple do, hard find, bad form whoever added code - if, in fact, solution.

note: used 2.7 installer base, installed defaults @ user level, anaconda2 default folder under username structure. using 3.x installer create anaconda3. latter part of path below key find correct file if on different os, install globally, or choose own default root folder.

file: c:\users\[user]\anaconda2\lib\site-packages\nb_conda_kernels\manager.py

line 76: "python [root]": join(self.conda_info["root_prefix"], python)

i made small edit line - instance of "python [root]" find in file in anaconda[x] folder - , able change appearance in menu. specifically, changed "python [root]" "python [root-test]" , got menu change in attached image.

"python [root]" "python [root-test], outlined in red"

caveat: haven't exhaustively tested see if other pointers affected, found yesterday afternoon , have been otherwise occupied today.

but works far.


Comments