pacman 安装mingw开发环境

:: Proceed with installation? [Y/n] y (422/422) checking keys in keyring [################] 100% (422/422) checking package integrity [################] 100% (422/422) loading package files [################] 100% (422/422) checking for file conflicts [################] 100% error: failed to commit transaction (conflicting files) python-pip: /usr/lib/python3.10/site-packages/pip-23.0.1.dist-info/LICENSE.txt exists in filesystem python-pip: /usr/lib/python3.10/site-packages/pip-23.0.1.dist-info/METADATA exists in filesystem python-pip: /usr/lib/python3.10/site-packages/pip-23.0.1.dist-info/RECORD exists in filesystem python-pip: /usr/lib/python3.10/site-packages/pip-23.0.1.dist-info/WHEEL exists in filesystem python-pip: /usr/lib/python3.10/site-packages/pip-23.0.1.dist-info/entry_points.txt exists in filesystem python-pip: /usr/lib/python3.10/site-packages/pip-23.0.1.dist-info/top_level.txt exists in filesystem Errors occurred, no packages were upgraded.

解决方案

$ pacman -S mingw-w64-x86_64-toolchain --overwrite "*"

$ pacman -S mingw-w64-i686-toolchain --overwrite "*"

你可能感兴趣的:(python,linux,人工智能)