3: Installing Packages(Command line Python scripting )
来源:互联网 发布:瑞士 知乎 编辑:程序博客网 时间:2024/06/05 18:55
Packages are an important way to extend the functionality of Python. We've worked with packages like matplotlib
and pandas
. The best way to install packages is to use the command line, and a program called pip. The newest versions of Python include pip by default, so installing Python will automatically give you access to pip.
In order to install a package with pip, we just usepip install
. pip install requests
will install the requests package, which can be used to interact with websites and APIs.
Instructions
Type pip install requests
to install the requests package.
- Since the library is already installed, you'll receive an appropriate message to reflect that.
/home/dq$ pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /dataquest
/system/env/python3/lib/python3.4/site-packages
0 0
- 3: Installing Packages(Command line Python scripting )
- 7: Checking The Installed Packages(Command line Python scripting)
- Installing packages into Canopy User Python from the OS command line
- 5: Python 3 Virtualenv(Command line Python scripting )
- 2: Python Versions(Command line Python scripting)
- 1: Command Line Python(Command line Python scripting)
- 9: Command Line Arguments(Command line Python scripting)
- 4: Virtual Environments(Command line Python scripting )
- 6: Activating A Virtualenv( Command line Python scripting )
- 8: Importing A File(Command line Python scripting)
- 10: Deactivating A Virtualenv(Command line Python scripting )
- Linux Command Line and Shell Scripting Bible,3rd,PartI
- Linux Command Line and Shell Scripting Bible
- R -- 3 Installing R Packages
- Linux Command Line and Shell Scripting Bible,3rd,Part 3
- Linux Command Line and Shell Scripting Bible,3rd,Part II
- 《Linux Command Line and Shell Scripting》编译序曲
- Installing WineHQ packages
- 1: Command Line Python(Command line Python scripting)
- android studio编码格式编译运行异常:Error:(1, 1) 错误: 非法字符: '\ufeff';
- 2: Python Versions(Command line Python scripting)
- ubuntu 国内源
- 在Qt 5.7 下配置OpenCV 开发环境
- 3: Installing Packages(Command line Python scripting )
- 4: Virtual Environments(Command line Python scripting )
- public, private, protected访问修饰符
- Leetcode 58 之反向迭代器的使用
- 5: Python 3 Virtualenv(Command line Python scripting )
- muduo网络库源码分析-定时器
- 6: Activating A Virtualenv( Command line Python scripting )
- 转:实用工具软件分享
- Cocos2d 游戏帧循环的理解和定时器的使用