Virtualenv创建虚拟环境安装Flask(2)

  which: no virtualenv-clone in   (/home/myproject/env2/bin:/usr/lib64/qt3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)ERROR: virtualenvwrapper could not find virtualenv-clone in your path

A:pip install virtualenv-clone

9.退出虚拟环境:deactivate

10.删除虚拟环境:rmvirtualenv [虚拟环境名称]

      [root@localhost ~]# rmvirtualenv env2

      Removing env2...

注:

flask安装在virtualenv中pip install Flask即可  

virtualenv --python=/usr/local/bin/python2 venv

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/15332.html