🌝Coding/🌟Python3
[가상환경] 파이썬 환경설정
뿌야._.
2021. 3. 13. 14:10
😊 python 환경 설정 및 python 가상 환경을 만들기
🙄 cmd
1단계) 파이썬 디렉토리 만들기: python -m venv 디렉토리명
2단계) cd 파이썬 디렉토리명\Scripts
3단계) 가상환경 실행: activate
가상 환경 종료: deactivate.bat
4단계) 라이브러리 설치: pip install pendulum
pip install pytest
라이브러리 설치 목록: pip list
🙄 vscode
5단계) vscode 실행: code
6단계) EXTENSIONS에서 python 설치
7단계) View-Command Palette(파이썬 인터프리터 선택)-디렉토리\Scripts\python.exe
8단계) 디렉토리 불러오기~
9단계) test.py 파일 만든 후 실행해보기!