python


15、常用安装

<pre><code>(py36) C:\Users\zcr&gt;pip install lxml Collecting lxml Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9a/10/b2d23016d4e5a0fc10359e83a60bfd918c9d787027855b46e585ea27d058/lxml-4.3.1-cp36-cp36m-win_amd64.whl (3.6MB) 100% |████████████████████████████████| 3.6MB 242kB/s Installing collected packages: lxml Successfully installed lxml-4.3.1 You are using pip version 9.0.1, however version 19.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. (py36) C:\Users\zcr&gt;pip install bs4 Collecting bs4 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz Collecting beautifulsoup4 (from bs4) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1d/5d/3260694a59df0ec52f8b4883f5d23b130bc237602a1411fa670eae12351e/beautifulsoup4-4.7.1-py3-none-any.whl (94kB) 100% |████████████████████████████████| 102kB 1.1MB/s Collecting soupsieve&gt;=1.2 (from beautifulsoup4-&gt;bs4) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/bf/b3/2473abf05c4950c6a829ed5dcbc40d8b56d4351d15d6939c8ffb7c6b1a14/soupsieve-1.7.3-py2.py3-none-any.whl Building wheels for collected packages: bs4 Running setup.py bdist_wheel for bs4 ... done Stored in directory: C:\Users\zcr\AppData\Local\pip\Cache\wheels\d2\9a\1c\12a324fb980cb5fbe05143002a096ee5497c6fc348f33f1a5b Successfully built bs4 Installing collected packages: soupsieve, beautifulsoup4, bs4 Successfully installed beautifulsoup4-4.7.1 bs4-0.0.1 soupsieve-1.7.3 You are using pip version 9.0.1, however version 19.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. (py36) C:\Users\zcr&gt; python Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 12:30:02) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import bs4 &gt;&gt;&gt; exit() (py36) C:\Users\zcr&gt;pip install pymysql Collecting pymysql Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ed/39/15045ae46f2a123019aa968dfcba0396c161c20f855f11dea6796bcaae95/PyMySQL-0.9.3-py2.py3-none-any.whl (47kB) 100% |████████████████████████████████| 51kB 799kB/s Installing collected packages: pymysql Successfully installed pymysql-0.9.3 You are using pip version 9.0.1, however version 19.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. (py36) C:\Users\zcr&gt;pip install pymongo Collecting pymongo Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d8/25/44b0fc81668a883739b108d9bd0c95b24f0b0204cb2dc93e0f259e173670/pymongo-3.7.2-cp36-cp36m-win_amd64.whl (315kB) 100% |████████████████████████████████| 317kB 1.6MB/s Installing collected packages: pymongo Successfully installed pymongo-3.7.2 You are using pip version 9.0.1, however version 19.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. (py36) C:\Users\zcr&gt;pip install redis Collecting redis Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f1/19/a0282b77c23f9f9dbcc6480787a60807c78a45947593a02dbf026636c90d/redis-3.1.0-py2.py3-none-any.whl (63kB) 100% |████████████████████████████████| 71kB 930kB/s Installing collected packages: redis Successfully installed redis-3.1.0 You are using pip version 9.0.1, however version 19.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. (py36) C:\Users\zcr&gt; (py36) C:\Users\zcr&gt;pip install pyquery Collecting pyquery Downloading https://pypi.tuna.tsinghua.edu.cn/packages/09/c7/ce8c9c37ab8ff8337faad3335c088d60bed4a35a4bed33a64f0e64fbcf29/pyquery-1.4.0-py2.py3-none-any.whl Requirement already satisfied: lxml&gt;=2.1 in c:\users\zcr\.conda\envs\py36\lib\site-packages (from pyquery) Collecting cssselect&gt;0.7.9 (from pyquery) Downloading https://pypi.tuna.tsinghua.edu.cn/packages/7b/44/25b7283e50585f0b4156960691d951b05d061abf4a714078393e51929b30/cssselect-1.0.3-py2.py3-none-any.whl Installing collected packages: cssselect, pyquery Successfully installed cssselect-1.0.3 pyquery-1.4.0 You are using pip version 9.0.1, however version 19.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.</code></pre>

页面列表

ITEM_HTML