반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- DI
- Django
- html
- Dependency Injection
- table cell size
- Dependency
- Django 특정 값 가져오기
- Spring
- html cell size
- table tag
- html cell
- Django column 값 가져오기
Archives
- Today
- Total
emluy 개발 일기
Django - TypeError: argument of type 'PosixPath' is not utterable 본문
웹 개발/뭔가 안될 때
Django - TypeError: argument of type 'PosixPath' is not utterable
yulme 2020. 10. 1. 23:49SMALL
다음과 같은 오류가 날때!!
1. 오류 상황
- python manage.py makemigrations 하면 저 오류가 났었음.
- 다른 사람들은 다 오류 없이 실행되는데 나만 오류가 계속 났었다 -> 내 가상환경 문제
2. 해결
- 설치해야할 패키지들이 다 설치 안되어있었음
- django 버전도 확인 필요!
3. 해결 방법
- requirements.txt에 있는 패키지들을 다 설치 해줘야 했다.
3-1. 내 가상환경에 설치되어 있는 패키지들을 문서(requirements.txt)로 정리
$ pip freeze > requirements.txt
3-2. requirements.txt 문서에 있는 패키지들을 한번에 설치
$ pip install -r requirements.txt
itholic.github.io/python-requirements/
[python] requirements.txt로 패키지 관리하기
requirements.txt로 패키지 한 방에 관리하기
itholic.github.io
반응형
'웹 개발 > 뭔가 안될 때' 카테고리의 다른 글
Django - django.db.utils.ProgrammingError: relation "account_user" does not exist 오류 (0) | 2020.11.06 |
---|---|
error - ProgrammingError: relation “django_session” does not exist (0) | 2020.10.13 |
Django 에서 models.py의 class 수정 후 error : select an option (0) | 2020.04.21 |
Django server 돌리는데 Error: That port is already in use. 뜰 때 (0) | 2020.04.14 |
vs code 에서 html 자동완성 안될 때 (0) | 2020.04.08 |
Comments