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.
显示的错误只是“[E]”,所以我不确定如何在 Anaconda 首选项中免除此错误。
例如,linter 错误print(f"Hello, world!")表示“ [E] invalid syntax ”
print(f"Hello, world!")
编辑 Anaconda 的用户偏好并添加以下内容:
"python_interpreter": "python3",
我在某处读到它是 python 的一个已知错误。它已在 3.6.3 版本中修复,因此您可能还必须更新您的 python 版本。我的是3.6.3,所以不知道是否需要更新。