Anaconda-navigator: byte indices must be integers or slices, not str

僤鯓⒐⒋嵵緔 提交于 2021-02-18 18:39:50

问题


Trying to start Anaconda navigator in Linux. Getting this error:

byte indices must be integers or slices, not str


回答1:


Found a solution

This is what to do:

run: $ source activate root and then

$ anaconda-navigator




回答2:


Based on Chad Fulton's answer on June 24th, 2016 in issue 748, I made the following changes. Anaconda navigator was able to run from the launcher.

Cut the line added to ~/.bashrc that was added by the anaconda install for path.

Update the ~/.profile path with the following at the bottom:

    export PATH="$PATH:/home/<your_username_here>/anaconda3/bin:$PATH"

Then you'll have to logout and login.

This should fix that issue. The Jupyter notebook appears to work too, but I haven't tested it thoroughly.



来源:https://stackoverflow.com/questions/45068082/anaconda-navigator-byte-indices-must-be-integers-or-slices-not-str

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!