Problem with Anaconda, oh-my-posh and Git Bash for Windows #2975
|
Hello I'm having a problem with oh-my-posh and Anaconda using Git bash for Windows... Everytime I want to install a package from Anaconda in my Python environment, I get this error:
This issue doesn't occur in PowerShell, only in Git Bash… When I deactivate oh-my-posh in Git Bash, the issue disappear. What could be the reason of this error? |
Replies: 1 comment 1 reply
|
@afigueroa1973 this is a UTF-8 error and thus a Conda bug. Python3 should come with UTF-8 out of the box, 2 doesn't. However your shell could be not set to UTF-8 (see 1252 encoding) and Conda could be trying to read the prompt. Theoretically changing Python (or your shell) to use UTF-8 could change this, nonetheless it's a Conda bug. |
@afigueroa1973 this is a UTF-8 error and thus a Conda bug. Python3 should come with UTF-8 out of the box, 2 doesn't. However your shell could be not set to UTF-8 (see 1252 encoding) and Conda could be trying to read the prompt. Theoretically changing Python (or your shell) to use UTF-8 could change this, nonetheless it's a Conda bug.