[WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
   [WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.

我在改变CFLAGS and LDFLAGS为

CFLAGS=".../miniconda3/envs/.../include"
LDFLAGS=".../miniconda3/envs/.../lib"

后发现并不起作用

 conda install -c conda-forge gcc_linux-64
  conda install -c conda-forge gxx_linux-64

后就不报错了

Logo

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

更多推荐