python-dev 安装错误
生活随笔
收集整理的這篇文章主要介紹了
python-dev 安装错误
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
/********************************************************************* python-dev 安裝錯誤* 說明:* 今天在安裝python相關(guān)開發(fā)工具的時候出現(xiàn)了這個錯誤。** 2016-8-15 深圳 南山平山村 曾劍鋒*******************************************************************/一. 參考文檔:1. Can't install python-devhttp://askubuntu.com/questions/749552/cant-install-python-dev
二. 錯誤現(xiàn)象:root@workflow:/home# apt-get install python-devReading package lists... DoneBuilding dependency tree Reading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies:python-dev : Depends: libpython-dev (= 2.7.9-1) but it is not going to be installedDepends: python2.7-dev (>= 2.7.9-1~) but it is not going to be installedE: Unable to correct problems, you have held broken packages.三. 解決辦法:1. cat /etc/apt/sources.list......deb http://cz.archive.ubuntu.com/ubuntu wily main
......2. sudo apt-get update3. apt-get install python-dev
?
轉(zhuǎn)載于:https://www.cnblogs.com/zengjfgit/p/5772449.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的python-dev 安装错误的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 掌握jQuery插件开发,这篇文章就够了
- 下一篇: 【mark】linux 终端命令行下的快