일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- 패키지
- ollama
- pip3 upgrade
- 리눅스
- Volumes
- Linux
- LLM
- Python
- capacity
- python pip
- 용량
- virtual-hosted-style
- IQN
- docker
- HuggingFace
- 버전
- error
- nginx-proxy
- path-style
- GGUF
- modelfile
- python3
- 핍
- FileSystemError
- 파이썬
- 퍼이썬
- reverse-proxy
- Save
- daemon.json
- AI
- Today
- Total
목록Python (3)
chargingport

# sample.json [ { "name": "John Doe", "class": "English" }, { "name": "Jack Black", "class": "Music" }, { "name": "Eminem", "class": "Music" }, { "name": "John Doe", "class": "Music" } ] 위와 같은 JSON 파일이 있다. John Doe 라는 사람이 2번 들어가있다. Python으로 중복되는 항목을 탐색해보자. # duplicate.py import json # Load the JSON data from your file with open('teaListEng2.json', 'r') as json_file: data = json.load(json_file) #..

pip 설치 pip install pip install pandas 특정 pip 버전 설치 pip install == pip install pandas==2.1.0 pip 제거 pip uninstall pip uninstall pandas Python Package 리스트 확인 pip list Python requirements.txt 생성 pip freeze > requirements.txt Package Version --------------- ------------ numpy 1.25.2 pandas 2.1.0 pip 22.2.2 python-dateutil 2.8.2 pytz 2023.3.post1 setuptools 63.2.0 six 1.16.0 tzdata 2023.3 Python requ..
파이썬에서 email 패키지 모듈을 사용 시 아래 오류가 발생할 때가 있다 # email.py from email import encoders from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.base import MIMEBase Original exception was: Traceback (most recent call last): File "email.py", line 2, in from email.mime.text import MIMEText File "/mnt/c/Users/chargingport/Desktop/temp/email.py", line 2, in from e..