[Anaconda Error Solution] Anaconda bytes object has no attribute get
![/img/anaconda.en-20240523120650966.webp /img/anaconda.en-20240523120650966.webp](/img/anaconda.en-20240523120650966.webp)
Today, when I ran Anaconda, it suddenly could not open the startup interface, but I could directly open and run Jupyter and Notebook. The error situation is shown in the picture below.
The commonly used solutions online did not work, but I will still list them here.
- Upgrade the installation packages,
|
|
- Delete files
Delete the
.condarc
file (usually found in C drive, Users, Current User).
There was no similar situation online, and in the end, I opened the Anaconda Powershell Prompt and saw the specific issue, which was a problem with path recognition.
The reason was a conflict in Windows environment variables: my user variable path and system variable path settings conflicted and were inconsistent. This caused Anaconda in the user variable to be recognized as the Java environment in the system variable.
Solution: unify user variables and system variables, or delete the Java path. Personally, it was because an invalid path blocked the way. I deleted the incorrect Java path: %Java_Home%\bin;%Java_Home%\jre\bin
. After that, I checked that the Java environment was not affected, and the Anaconda environment was restored.