본문 바로가기
Programming Basics

4. Visual Studio Code에 가상환경 설정

by ISLA! 2023. 7. 25.

Visual Studio Code에 가상환경 설정하기

 

1. 로컬 시스템에 가상환경 설치

  • vs code 터미널 접속(bash)
  • pip install virtualenv : 로컬 시스템에 가상환경 설치(1회만 시행)
  • virtualenv venv 
  • source venv/bin/activate : 가상환경에 접속

 

2. 가상환경에 Django 설치

  • django 설치
    • pip install django
    • 설치완료시 터미널 >> Successfully installed asgiref-3.7.2 django-4.2.3 sqlparse-0.4.4 typing-extensions-4.7.1
  • 기타 라이브러리 모두 설치 :
    • pip install django numpy pandas matplotlib seaborn scikit-learn streamlit jupyterlab plotly

 

728x90