这个问题已经折磨了我 2 天,没有 python3-dev
我不能 pip 安装任何模块,有人能告诉我怎么解决这个问题吗?
The following packages have unmet dependencies:
python3-dev : Depends: python3 (= 3.5.1-3) but 3.5.1-4 is to be installed
Depends: libpython3-dev (= 3.5.1-3) but it is not going to be installed
Depends: python3.5-dev (>= 3.5.1-2~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
原文由 Lucas 发布,翻译遵循 CC BY-SA 4.0 许可协议
您可以尝试安装包 libpython3-dev 而不是安装包 python3-dev。
我在这里回答了类似的问题: https ://superuser.com/a/1407453/1000196