utf-8 error when using ensurepath
See original GitHub issueDescribe the bug
I installed pipx using the official way and when running python3 -m pipx ensurepath
I get the following error:
'utf-8' codec can't decode byte 0x90 in position 210: invalid start byte
How to reproduce clean install, so I’ve just installed it and don’t really know how to reproduce. I even tried running the command in a virtual environment but still the same error.
Expected behavior to not show the error and be able to use pipx normally
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
UTF8 is causing error when using Archive::Zip - Stack Overflow
$my_string_with_utf8 is not encoded using UTF-8 as the name suggests. It's a string of decoded text aka a string of Unicode Code Points....
Read more >pipx — Install and Run Python Applications in Isolated ...
On Linux, install via pip (requires pip 19.0 or later). python3 -m pip install --user pipx python3 -m pipx ensurepath. Upgrade pipx with...
Read more >How can I fix the UTF-8 error when bulk uploading users?
This error occurs because the software you are using saves the file in a different type of encoding, such as ISO-8859, instead of...
Read more >How to set UTF8 in a lstlisting? (Error received) - TeX
I just solved it in using inputencoding=latin1. I hope it can help some in the same case than me.
Read more >Always use UTF-8 collations to read UTF-8 text in serverless ...
This behavior might cause unexpected text conversion error. ... If a collation name in Synapse SQL ends with UTF8, it represents the strings ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you so much. I manually added the path to the fish shell and now everything is working as expected. I can close this now but I’ll leave it up to you if other people have the same problem
Thanks again
You should note, however, that if your default shell is fish, then running
pipx ensurepath
in bash may not affect yourPATH
when using fish.You can see the commands added by looking for the text
pipx
in the comments before the new PATH commands in.profile
,.bashrc
, etc.:If your default shell is fish, you may want to move the proper command to
~/.config/fish/config.fish