Skip to content

Commit

Permalink
poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
deptno committed Jan 28, 2025
1 parent f7b2d1d commit 6d56b5c
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 0 deletions.
8 changes: 8 additions & 0 deletions agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# agent

## framework
- [[dify]]
- [[crewai]]

## link
- [[ai]]
1 change: 1 addition & 0 deletions ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
- [[apache-airflow]]
- [[openai-whisper]]
- [[dify]]
- [[agent]]
14 changes: 14 additions & 0 deletions crewai.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# crewai

## 실행
```sh
poetry init
poetry crewai 'crewai[tools]'
poetry run crewai create crew some_crew
poetry run crewai create flow some_flow
```

## link
- [[ai]]
- [[agent]]
- [[poetry]]
2 changes: 2 additions & 0 deletions pip.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ pip list --format=freeze > requirements.txt # 의존성 파일로 저장
pip install -r requirements.txt # 의존성 파일로부터 설치
```


## link
- [[python]]
- [[pipenv]]
- [[poetry]]
1 change: 1 addition & 0 deletions pipenv.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ pipenv run pip install -r requirements.txt
- [[pip]]
- [[pyenv]]
- [[venv]]
- [[poetry]]
- [[conda]]
14 changes: 14 additions & 0 deletions poetry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# poetry

```sh
poetry init
# install 을 해야지 가상환경이 생성됨
poetry install
poetry env actiavte
poetry env info
```

## link
- [[pip]]
- [[pipenv]]
- [[venv]]
10 changes: 10 additions & 0 deletions venv.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@ source .venv/bin/activate
deactivate
```

## [[error]]
- [[pip]]`.venv` 에 없는 경우
```sh
# which python 으로 .venv 의 python 이 활성화 된 것 확인
python -m ensurepip --upgrade
which pip3
```

## link
- [[python]]
- [[pipenv]]
- [[conda]]
- [[pip]]
- [[poetry]]

0 comments on commit 6d56b5c

Please sign in to comment.