ImportError: No module named virtualenv

前端 未结 8 2057
孤城傲影
孤城傲影 2021-02-01 00:50

I am using Django 1.3.7 and python 2.7.6 on windows7 I got an error when I executing my manage.py in this line of code

import shutil, sys, virtualenv, subprocess         


        
8条回答
  •  天涯浪人
    2021-02-01 01:50

    I had to install virtualenv with the -H flag to set HOME variable to target user's home dir.

    sudo -H pip install virtualenv

提交回复
热议问题