Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set up virtual environment in window OS #21

Open
sjz1 opened this issue Jan 20, 2023 · 0 comments
Open

How to set up virtual environment in window OS #21

sjz1 opened this issue Jan 20, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@sjz1
Copy link
Contributor

sjz1 commented Jan 20, 2023

venv를 이용하여 가상환경을 만들 것이므로 venv 실행


python3 -m venv /path/to/new/virtual/environment

가상환경 이름을 지정해주기 (ex) > myenv


python -m venv myenv

가상환경 실행을 위해 Scripts에 접근


cd myenv\Scripts

가상환경을 실행시킴

activate

만약 requirement.txt가 있다면
가상환경에 라이브러리 설치를 하기위해
Scripts 에 requirements.txt를 복붙하고 아래의 코드를 실행

pip install - r requirements.txt
@sjz1 sjz1 added the documentation Improvements or additions to documentation label Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant