博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ubuntu12.04 安装BeautifulSoup遇到的问题
阅读量:7107 次
发布时间:2019-06-28

本文共 2001 字,大约阅读时间需要 6 分钟。

hot3.png

root :/home/chris# apt-get install python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libdrm-intel1 libdrm2 libdrm-radeon1 libgl1-mesa-dri libxkbfile1
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  python-setuptools
0 upgraded, 1 newly installed, 0 to remove and 53 not upgraded.
Need to get 195kB of archives.
After this operation, 909kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com karmic/main python-setuptools 0.6c9-0ubuntu5 [195kB]
Fetched 195kB in 2s (92.5kB/s)
Selecting previously deselected package python-setuptools.
(Reading database ... 72637 files and directories currently installed.)
Unpacking python-setuptools (from .../python-setuptools_0.6c9-0ubuntu5_all.deb) ...
Setting up python-setuptools (0.6c9-0ubuntu5) ...
 
root :/home/chris# easy_install BeatifulSoup
Searching for BeatifulSoup
Reading http://pypi.python.org/simple/BeatifulSoup/
Couldn't find index page for 'BeatifulSoup' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for BeatifulSoup
error: Could not find suitable distribution for Requirement.parse('BeatifulSoup')
root :/home/chris# easy_install BeautifulSoup
Searching for BeautifulSoup
Best match: BeautifulSoup 3.1.0.1
Processing BeautifulSoup-3.1.0.1-py2.6.egg
BeautifulSoup 3.1.0.1 is already the active version in easy-install.pth
 
Using /usr/local/lib/python2.6/dist-packages/BeautifulSoup-3.1.0.1-py2.6.egg
Processing dependencies for BeautifulSoup
Finished processing dependencies for BeautifulSoup
root :/home/chris# python
Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import BeautifulSoup
>>>

转载于:https://my.oschina.net/zhangdapeng89/blog/57872

你可能感兴趣的文章
史上最简单的 SpringCloud 教程 | 第四篇: 断路器(Hystrix)
查看>>
Spring Boot集成MyBatis实现通用Mapper
查看>>
HTTP第四篇【HTTPS简述】
查看>>
SpringMVC源码系列:AbstractHandlerMapping
查看>>
Android精美日历控件CalendarView自定义使用完全解析
查看>>
ios 移除所有子视图
查看>>
MVVM 式的热区组件开发
查看>>
Kotlin Weekly 中文周报 —— 19
查看>>
一起撸个朋友圈吧(step1) ListView(完结)篇
查看>>
XXL-EXCEL v1.1.1 发布,Java对象和Excel转换工具
查看>>
常见排序算法及其实现(Binary,Insert、Select、Quick、Bubble.etc.Sort)
查看>>
JS是单线程,你了解其运行机制吗?
查看>>
leetcode题解(数组问题)
查看>>
rand()函数埋的一个坑,大家注意了
查看>>
二、KVO实现原理
查看>>
Android 悬浮窗权限各机型各系统适配大全
查看>>
Nodejs 进阶:express+session 实现简易身份认证
查看>>
设计模式 | 策略模式及典型应用
查看>>
JVM 一套卷,助你快速掌握优化法则
查看>>
多迪技术部带你回顾2017年程序员们过得好吗?
查看>>