1.安装paddlex时报错:

   AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output. 

安装时Python版本是3.12,使用推荐的python版本安装

2.安装PaddlePaddle时注意Paddle的版本与Paddle版本的兼容,本人的兼容版本如下:

paddlepaddle-gpu==2.5.0.post117

paddlex==2.1.0  ==>支持python版本:Python 3.6 ~ 3.9

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐