Virtualenv的安装和使用

本来很简单的安装pip install virtualenv,安装完后,却提示command not found。后来通过如下方法解决:

If you installed it through running

pip install virtualenv

What you need to do is to run:

sudo /usr/bin/easy_install virtualenv

which puts it in /usr/local/bin/. The above directory by default should be in your PATH; otherwise, edit your .zshrc (or .bashrc) accordingly.

 


source /目录/activate 启动虚拟环境

 

安装lxml时遇到问题

Add a Comment

电子邮件地址不会被公开。 必填项已用*标注