ImportError: No module named virtualenv

前端 未结 8 2044
孤城傲影
孤城傲影 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:38

    Use pip3 instead of pip. I had the same issue and pip3 worked for me.

    $ pip3 install virtualenv
    $ virtualenv venv --python=python3
    

提交回复
热议问题