pip安装paddleocr时报错,提示要2017或更高, c:\users\administrator\appdata\local\temp\pip-build-env-86xs2ijc\overlay\lib\site-packages\pybind11\include\pybind11\detail/common.h(86): fatal error C1189: #error: pybind11 2.10+ requires MSVC 2017 or newer error: command 'C:\\Program Files (x86...
随便新建一个文件夹,放入下载的pybind11文件夹,打开命令行 windows power shell、conda prompt、VSCode的terminal都可以,建议后两者,进入base环境(在其他环境下进行编译可能会出错,因为在系统环境变量Path中,python解释器路径一般都是写的base环境的)此外,请在base环境中安装好pytest这个包:pip install pytest。pybind11依...