Use aputute The tools can be done in two steps:
South apt-get install aptitude
South aptitude install python-dev
———————————————————————————————————————————-
The following ” new ” software packages will be installed.
python-dev python2.7-dev{ab}
0 1 package upgraded, new installed 2 I’m sorry. 0 One will be deleted. At the same time 0 One will not be upgraded.
Need to get 29.5 MB is in the archive. To be used after unpacking 39.3 MB.
The following packages have an unmet dependency relationship:
python2.7-dev : Dependency: python2.7 (= 2.7.3-0ubuntu3) But… 2.7.3-0ubuntu3.1 Installed.
Dependency: libpython2.7 (= 2.7.3-0ubuntu3) But… 2.7.3-0ubuntu3.1 Installed.
Dependency: libexpat1-dev But it won’t be installed.
Dependency: libssl-dev But it won’t be installed.
These dependencies will be addressed by:
Hold The following software packages are available in its current version:
1) python-dev [未安装的]
2) python2.7-dev [未安装的]
Will the solution be accepted? [Y/n/q/?] I don’t know.
These dependencies will be addressed by:
Install The following packages:
1) libexpat1-dev [2.0.1-7.2ubuntu1 (precise)]
2) libssl-dev [1.0.1-4ubuntu3 (precise)]
3) libssl-doc [1.0.1-4ubuntu3 (precise)]
Downgrade The following packages:
4) libexpat1 [2.0.1-7.2ubuntu1.1 (now) -> 2.0.1-7.2ubuntu1 (precise)]
5) libpython2.7 [2.7.3-0ubuntu3.1 (now) -> 2.7.3-0ubuntu3 (precise)]
6) libssl1.0.0 [1.0.1-4ubuntu5.7 (now) -> 1.0.1-4ubuntu3 (precise)]
7) python2.7 [2.7.3-0ubuntu3.1 (now) -> 2.7.3-0ubuntu3 (precise)]
8) python2.7-minimal [2.7.3-0ubuntu3.1 (now) -> 2.7.3-0ubuntu3 (precise)]
Will the solution be accepted? [Y/n/q/?] y
The following packages will be ” downgraded ” :
libexpat1 libpython2.7 libssl1.0.0 python2.7 python2.7-minimal
The following ” new ” software packages will be installed.
libexpat1-dev{a} libssl-dev{a} libssl-doc{a} python-dev python2.7-dev{a}
0 packages upgraded, 5 newly installed, 5 downgraded, 0 deleted and 0 not upgraded.
A file of 39.0 MB is required. 47.8 MB will be used after unpacking.
Do you want to continue?
————————————————
The main target was the installation of AutoSpluit in Github, which showed up impot psutil and then…
Installation of pip install psutil
未经允许不得转载:萌萌Apprentissage » Solving python-dev's inability to install (dependent relationships) an installation error for the Python psutil module in AutoSloit
linux One Chinese script
Google shell enable enhanced mode 4 nuclear 16G RAM
Python batches to extract mainstream search engine pictures
Python's word crawling across 100 degrees.
PythonTaiichi Taipei Artificial Intelligence Tensoflow Graphic Processing
Selenium with Tor Browser using Python