UnicodeEncodeError: 'charmap' codec can't encode character '\u2502' in position 559: character maps to <undefined>
See original GitHub issueEnvironment information
brownie
Version: x.x.xganache-cli
Version: Ganache CLI v6.12.2 (ganache-core: 2.13.2)solc
Version: x.x.x- Python Version: 3.10.2
- OS: Windows 10
What was wrong?
When I run pipx install eth-brownie
I get the follwoing error:
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\User\appdata\roaming\python\python310\scripts\pipx.exe\__main__.py", line 7, in <module>
File "C:\Users\User\AppData\Roaming\Python\Python310\site-packages\pipx\main.py", line 779, in cli
return run_pipx_command(parsed_pipx_args)
File "C:\Users\User\AppData\Roaming\Python\Python310\site-packages\pipx\main.py", line 202, in run_pipx_command
return commands.install(
File "C:\Users\User\AppData\Roaming\Python\Python310\site-packages\pipx\commands\install.py", line 60, in install
venv.install_package(
File "C:\Users\User\AppData\Roaming\Python\Python310\site-packages\pipx\venv.py", line 238, in install_package
subprocess_post_check_handle_pip_error(pip_process)
File "C:\Users\User\AppData\Roaming\Python\Python310\site-packages\pipx\util.py", line 349, in subprocess_post_check_handle_pip_error
print(completed_process.stderr, file=pip_error_fh, end="")
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2502' in position 559: character maps to <undefined>
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
UnicodeEncodeError: 'charmap' codec can't encode ...
The reason why it is working is because the encoding is changed to UTF-8 when using the file, so characters in UTF-8 are...
Read more >UnicodeEncodeError: 'charmap' codec can't encode ...
UnicodeEncodeError : 'charmap' codec can't encode character u'\u2026' in position 139: character maps to <undefined> #1. Open. baditaflorin opened this issue on ...
Read more >'charmap' codec can't encode characters in position
The Python "UnicodeEncodeError: 'charmap' codec can't encode characters in position" occurs when we use an incorrect codec to encode a string to ...
Read more >'charmap' codec can't encode character... - YouTube
SOLVED #PYTHON #ERROR UnicodeEncodeError : ' charmap ' codec can't encode character '\u266b' in position 157411: character maps to undefined ...
Read more >'charmap' codec can't encode characters in position 0-14 ...
Hi! How to solve "UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-14: character maps to " for this code: stockList ...
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
@capit0 I had the same issue. Just delete your pipx folder and try again. Should work.
python 3.9.10 worked for me too had to remove 3.10 also removed C:\Users\username.local\pipx\shared\Scripts\pip310