How to create virtual env with python3

后端 未结 8 1322
感情败类
感情败类 2020-12-05 06:48

I am using python 2.7 + virtualenv version 1.10.1 for running myproject projects. Due to some other projects requirement I have to work wit

8条回答
  •  情歌与酒
    2020-12-05 07:18

    Install virtualenvwrapper on top of virtualenv to simplify things. Follow the blog to install in easy steps: virtualenvwrapper

    Steps to create it:

    1. mkvirtualenv -p /usr/bin/python3
    2. Install packages using - pip install package_name
    3. workon - activates the virtualenv, deactivate - deactivates the viirtualenv

提交回复
热议问题