파이썬3에서 가상환경 설정 - venv
예전에 파이썬의 virtualenv 모듈에 대해 썼던 적이 있는데요. 아래의 링크입니다.
사용할 일이 딱히 없어서 시험해 보지 않았었는데, 파이썬3에서 사용하는 가상환경은 virtualenv가 아니라 venv인 것 같더군요. 우분투 계열 리눅스에서 아래와 같이 패키지를 설치합니다.
sudo apt-get install python3-venv
사용하는 요령은 virtualenv와 동일합니다.
# 가상환경 test_venv 만들기
python3 -m venv test_venv
# 가상환경으로 들어가기
cd test_venv
source ./bin/activate
# 가상환경에서 나가기
deactivate
@joviansummer의 스팀 프로젝트
스팀 증인노드를 운영중입니다. @jswit에 증인투표해 주시면 감사하겠습니다.
(https://steemitwallet.com/~witnesses)
Thank you, friend!
![image.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmd7of2TpLGqvckkrReWahnkxMWH6eMg5upXesfsujDCnW/image.png)
![image.png](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmWDnFh7Kcgj2gdPc5RgG9Cezc4Bapq8sQQJvrkxR8rx5z/image.png)
I'm @steem.history, who is steem witness.
Thank you for witnessvoting for me.
please click it!
(Go to https://steemit.com/~witnesses and type fbslo at the bottom of the page)
The weight is reduced because of the lack of Voting Power. If you vote for me as a witness, you can get my little vote.
Upvoted! Thank you for supporting witness @jswit.
@jsup !blog
Blogger url: http://joviansummer.blogspot.com/2024/01/3-venv.html