question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

utf-8 error when using ensurepath

See original GitHub issue

Describe 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:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
AltamimiYassercommented, Mar 8, 2021

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

1reaction
itsayellowcommented, Mar 8, 2021

You should note, however, that if your default shell is fish, then running pipx ensurepath in bash may not affect your PATH 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.:

grep 'Created by `pipx`' ~/.*

If your default shell is fish, you may want to move the proper command to ~/.config/fish/config.fish

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found