Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚将我的 python 版本更新到 3.7,但每次我激活我的 virtualenv 时,我都会收到以下错误消息:参数格式不正确 - 65001
有谁知道这意味着什么以及如何解决这个问题?
提前致谢!
我目前有同样的问题。请在此处查看此页面和此错误报告。
该问题可以通过修改activate.bat的代码页grep解决:for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') 做 (...
只需添加“。” 在您的 activate.bat 文件中的“delims=:”之后。这对我有用。
我有同样的问题。它只发生在 Powershell 中。Windows CMD 工作得很好。并使用 activate.bat 而不是激活(没有 bat)。我希望这有帮助。