用 pycharm 写代码
import pandas as pd
光标放到 pandas ,alt+enter 会安装失败
UnicodeEncodeError
'gbk' codec can't encode character '\u2022' in position 2: illegal multibyte sequence
at D:\user\xxx\Application Data\pypoetry\venv\lib\site-packages\cleo\io\outputs\stream_output.py:79 in _write
75| def _write(self, message: str, new_line: bool = False) -> None:
76| if new_line:
77| message += "\n"
78|
> 79| self._stream.write(message)
80| self._stream.flush()
81|
82| def _has_color_support(self) -> bool:
83| # Follow https://no-color.org/
但是直接命令行执行命令是可以的
poetry add pandas
错误如图 https://imgur.com/a/7bFzcth
有大佬知道怎么解决吗?
1
yxt 2023-05-11 11:01:02 +08:00
|