如何在执行此PIPX安装ETH-BROWNIE代码期间修复布朗尼安装的问题?

发布于 2025-01-18 00:50:14 字数 1765 浏览 1 评论 0原文

Traceback (most recent call last):
File "C:\\Users\\HP\\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\\HP\\AppData\\Local\\Programs\\Python\\Python310\\lib\\runpy.py", line 86, in _run_code_
exec(code, run_globals)
File "c:\\users\\hp\\appdata\\roaming\\python\\python310\\scripts\\pipx.exe\__main_.py", line 7, in \<module\>
File "C:\\Users\\HP\\AppData\\Roaming\\Python\\Python310\\site-packages\\pipx\\main.py", line 779, in cli
return run_pipx_command(parsed_pipx_args)
File "C:\\Users\\HP\\AppData\\Roaming\\Python\\Python310\\site-packages\\pipx\\main.py", line 202, in run_pipx_command  
return commands.install(
File "C:\\Users\\HP\\AppData\\Roaming\\Python\\Python310\\site-packages\\pipx\\commands\\install.py", line 60, in install
venv.install_package(
File "C:\\Users\\HP\\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\\HP\\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\\HP\\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\>

我尝试此代码 python -m pip install --user pipxpython -m pipx Ensurepath 我尝试运行此代码并且它运行正常,但在运行此 pipx install eth-brownie 我收到错误,它对我来说就像障碍一样。

Traceback (most recent call last):
File "C:\\Users\\HP\\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\\HP\\AppData\\Local\\Programs\\Python\\Python310\\lib\\runpy.py", line 86, in _run_code_
exec(code, run_globals)
File "c:\\users\\hp\\appdata\\roaming\\python\\python310\\scripts\\pipx.exe\__main_.py", line 7, in \<module\>
File "C:\\Users\\HP\\AppData\\Roaming\\Python\\Python310\\site-packages\\pipx\\main.py", line 779, in cli
return run_pipx_command(parsed_pipx_args)
File "C:\\Users\\HP\\AppData\\Roaming\\Python\\Python310\\site-packages\\pipx\\main.py", line 202, in run_pipx_command  
return commands.install(
File "C:\\Users\\HP\\AppData\\Roaming\\Python\\Python310\\site-packages\\pipx\\commands\\install.py", line 60, in install
venv.install_package(
File "C:\\Users\\HP\\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\\HP\\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\\HP\\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\>

i try this code python -m pip install --user pipx, python -m pipx ensurepath and i try to run this code and it run properly but during running this pipx install eth-brownie i am getting error and its stick like barriers to me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文