尝试在Linux中启动Anaconda导航器。收到此错误:Anaconda-navigator:字节索引必须是整数或切片,而不是str
byte indices must be integers or slices, not str
尝试在Linux中启动Anaconda导航器。收到此错误:Anaconda-navigator:字节索引必须是整数或切片,而不是str
byte indices must be integers or slices, not str
找到了解决办法
这是做什么:
运行:$ source activate root
然后
$ anaconda-navigator
基于乍得富尔顿的答案2016年6月24日在issue 748,我做了以下更改。蟒蛇导航器能够从发射器中运行。
剪切添加到〜/ .bashrc中的行,anaconda install为path添加。
更新在底部以下的〜/ .profile文件路径:
export PATH="$PATH:/home/<your_username_here>/anaconda3/bin:$PATH"
那么你就必须注销并登录。
这应该解决这个问题。 Jupyter笔记本似乎也可以工作,但我没有彻底测试它。
只需将'export PATH =〜/ anaconda3/bin:$ PATH'添加到〜/ .bashrc中即可。虽然我不需要注销和登录。 –