pip install virtual env wrapper - win shows error:

后端 未结 2 393
遥遥无期
遥遥无期 2020-12-22 11:02

I am trying to install Django in my windows 7 machine, as a prerequisite, I am installing virtualenvwrapper:

pip install virtualenvwrapper-win
<         


        
2条回答
  •  清歌不尽
    2020-12-22 11:26

    Try using pyenv:

    Step 1: install virtualenv using pip

    pip install virtualenv
    

    Step 2 In a folder, open cmd and run:

    python -m venv virtualenvname
    

    eg: python -m venv india

    Step 3: Activate your Virtual environment by:

    india\Scripts\activate
    

    Note: S of sripts has to be in caps

    Now you must see india before location in your cmd. If yes then your virtual env has been activated.

    Something Like this:

    (india) D:\dev\python\django\
    

提交回复
热议问题