pipx安装eth布朗尼问题



尝试通过Visual Studio代码中的powershell终端在Windows上安装带有pipx的eth brownie。尝试重新安装pip和pipx。通过pip安装eth布朗尼没有问题,但需要通过pipx完成。以下是错误消息:

PS C:UsersXXXOneDriveDesktopBlockchain-101demosbrownie_simple_storage> pipx install eth-brownie
Traceback (most recent call last):
File "C:UsersXXXAppDataLocalProgramsPythonPython310librunpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:UsersXXXAppDataLocalProgramsPythonPython310librunpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:UsersXXXAppDataroamingpythonpython310scriptspipx.exe__main__.py", line 7, in <module>
File "C:UsersXXXAppDataRoamingPythonPython310site-packagespipxmain.py", line 779, in cli
return run_pipx_command(parsed_pipx_args)
File "C:UsersXXXAppDataRoamingPythonPython310site-packagespipxmain.py", line 202, in run_pipx_command
return commands.install(
File "C:UsersXXXAppDataRoamingPythonPython310site-packagespipxcommandsinstall.py", line 60, in install
venv.install_package(
File "C:UsersXXXAppDataRoamingPythonPython310site-packagespipxvenv.py", line 238, in install_package
subprocess_post_check_handle_pip_error(pip_process)
File "C:UsersXXXAppDataRoamingPythonPython310site-packagespipxutil.py", line 349, in subprocess_post_check_handle_pip_error
print(completed_process.stderr, file=pip_error_fh, end="")
File "C:UsersXXXAppDataLocalProgramsPythonPython310libencodingscp1252.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>

有人能帮我了解这个问题的来源以及如何解决吗?

没错,我知道这不是理想的解决方案,但我通过了这一步。我刚安装了python 3.10.2。之后,我访问了eth布朗尼页面:

https://eth-brownie.readthedocs.io/en/stable/install.html

并安装了brownie,遵循"其他安装方法"部分中指定的GitHub方法。

相关内容

  • 没有找到相关文章

最新更新