pip install virtual env wrapper - win shows error:

后端 未结 2 387
遥遥无期
遥遥无期 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\
    
    0 讨论(0)
  • 2020-12-22 11:36
    pip3 -m venv yourprojectname
    

    Are you trying my command. I got the error like you did with this command I got the problem

    but, you can apply the following commands

    py -m pip install --user virtualenv
    py -m virtualenv env
    

    OR

    python3 -m pip install --user virtualenv
    
    python3 -m virtualenv env
    
    0 讨论(0)
提交回复
热议问题