본문 바로가기
파이썬

파이썬 ImportError : virtualenv라는 모듈이 없습니다.

by º기록 2020. 12. 25.
반응형

Windows7에서 Django 1.3.7과 python 2.7.6을 사용하고 있습니다. 이 코드 줄에서 manage.py를 실행할 때 오류가 발생했습니다.

import shutil, sys, virtualenv, subprocess

amd 실행 중,이 오류가 발생했습니다.

C:\Django-Proj\>python manage.py update_ve
Traceback (most recent call last):
  File "manage.py", line 4, in <module>
    import shutil, sys, virtualenv, subprocess
ImportError: No module named virtualenv

내 사건에 대한 아이디어가있는 사람이 있습니까?

 

해결 방법

 

pip install virtualenv 를 사용하여 virtualenv를 설치합니다. If you have it already installed, try reinstalling it by removing it with pip uninstall virtualenv and then reinstalling it. 행운을 빕니다.

 

참조 페이지 https://stackoverflow.com/questions/21070369

 

 

반응형

댓글