OSError Python library not found libpython38so libpython38mso10 libpython38mso libpython38so10 libpython38muso10 This means your Python installation does not come with proper shared library files
这个错误意味着Python安装缺少必要的共享库文件,可能是由于缺少开发包或Python安装的构建参数不合适导致的。
解决方法:
- 在Debian/Ubuntu上,需要安装Python开发包:
- apt-get install python3-dev
- apt-get install python-dev
- 如果你正在自己构建Python,请使用
--enable-shared重新构建(在macOS上使用--enable-framework)。
原文地址: https://www.cveoy.top/t/topic/fsrR 著作权归作者所有。请勿转载和采集!