virtualenv创建虚拟环境出错

来源:互联网 发布:centos如何输入命令 编辑:程序博客网 时间:2024/05/29 09:46
virtualenv venv

出现错误

New python executable in /home/shitfly/webgo/venv/bin/python2.7Not overwriting existing python script /home/shitfly/webgo/venv/bin/python (you must use /home/shitfly/webgo/venv/bin/python2.7)Installing setuptools, pip, wheel...done.Warn: You maybe need specify some required packages!

虚拟环境创建在之前创建过的文件夹下

sudo easy_install virtualenv

更新一下

virtualenv ENV

成功

New python executable in /home/shitfly/webspider/AVMOO/ENV/bin/pythonInstalling setuptools, pip, wheel...done.
原创粉丝点击