是否可以更改PyCharm显示OpenCV文档的方式?

问题描述 投票:0回答:1

PyCharm(PY-193.6911.25,macOS 10.15.4)无法正确显示OpenCV文档。

更具体地说,这是结果。

enter image description here

如您所见,那是一团糟。有可能解决这个问题吗?我通过pip安装了OpenCV。

python opencv pycharm documentation
1个回答
0
投票
  • 在具有Python 3.7的PyCharm 2020.1.1专业版中,cv2文档字符串显示以下警告
  • You need configured Python 2 SDK to render Epydoc docstrings
  • [Epydoc是用于根据Python模块的文档字符串为它们生成API文档的工具。
  • Pycharm can't render Epydoc docstrings
    • 在IDE中配置的解释器中查找合适的解释器(由于Epydoc软件包本身尚未移植到Python 3,因此必须为Python 2)。换句话说,您需要对其进行一次设置,以使其显示在“设置” |“列表”中的列表中。项目:... |项目口译|全部显示...-不需要在任何项目中实际使用。在您的情况下是真的吗?
  • Doxygen is confused with Epydoc and displayed as free text (not preformatted)
  • 希望这会为您指明正确的方向。
© www.soinside.com 2019 - 2024. All rights reserved.