4: Create A Virtualenv( Challenge: Working with the Command Line)
来源:互联网 发布:张郃的死 知乎 编辑:程序博客网 时间:2024/06/04 19:35
You'll want to isolate the Python environment that your script is in by creating a virtual environment. This will allow you to install Python packages with the versions that the script expects.
Instructions
- Create a Python 3 virtualenv called
script
.
- Activate the
script
virtualenv.
/home/dq$ virtualenv -p /usr/bin/python3 script
Running virtualenv with interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/dq/script/bin/python3
Also creating executable in /home/dq/script/bin/python
Installing setuptools, pip, wheel...
/home/dq$ source script/bin/activate
(script) /home/dq$ source script/bin/activate
0 0
- 4: Create A Virtualenv( Challenge: Working with the Command Line)
- 2: Creating A Script( Challenge: Working with the Command Line )
- 1: Command Line Python(Challenge: Working with the Command Line)
- 3: Change File Permissions(Challenge: Working with the Command Line)
- Create a new repository on the command line/Push an existing repository from the command line
- [VBS] Working with DOS Command Line
- Working on Command Line
- 6: Activating A Virtualenv( Command line Python scripting )
- 10: Deactivating A Virtualenv(Command line Python scripting )
- Visual C# 2010 Recipes A Problem-Solution Approach 代码一 —— Create a Console Application from the Command Line
- Create Command Line Tools
- Creating a website from the command line
- Moving a drawn line with the mouse
- Running scripts from the command line with idascript
- Create database in command-line
- Become a Command Line Ninja With These Time-Saving Shortcuts
- Visual C# 2010 Recipes A Problem-Solution Approach 代码2 —— Create a Windows-Based Application from the Command Line
- Working With The File System & Streams (4)
- nginx日志详解和日志切割
- Java记事本
- Canvas和paint的使用
- 动态加载view的LayoutParams参数设置
- 如何让 H5 体验接近 APP:(一)触摸反馈
- 4: Create A Virtualenv( Challenge: Working with the Command Line)
- window系统安装repo时遇到的问题
- C++开发者都应该使用的10个C++11特性
- 趣题
- git rebase & merge 将其他分支的修改合并到当前分支
- 20分钟MySQL基础入门
- MongoDB使用
- 常用的Javascript设计模式
- ubuntu 网络设置