-
conflicts with the name of an existing Python module and cannot be used as an app name. Please try another name
2021. 3. 26. 20:08
Django project 만드려고했는데 아래처럼 계속 사용할 수 없는 이름이란다. ...
-_-... 마치 게임 이름 지을 때 이미 있는 이름입니다 용사님! 다른 이름하시져! 하다가 아무슨닉넴하라고 !! 가 생각난다.
(venv) ⚙ jiwonwee@jiwon ~/PycharmProjects/pythonProject/postapp/weeapp python manage.py startapp weeapp CommandError: 'weeapp' conflicts with the name of an existing Python module and cannot be used as an app name. Please try another name.
그냥 폴더로 이동해서 해당 app이름을 지워주면된다.
(venv) ⚙ jiwonwee@jiwon ~/PycharmProjects/pythonProject django-admin startproject weeapp (venv) ⚙ jiwonwee@jiwon ~/PycharmProjects/pythonProject cd weeapp (venv) ✘ ⚙ jiwonwee@jiwon ~/PycharmProjects/pythonProject/weeapp ls manage.py weeapp (venv) ⚙ jiwonwee@jiwon ~/PycharmProjects/pythonProject/weeapp rm -r weeapp (venv) ⚙ jiwonwee@jiwon ~/PycharmProjects/pythonProject/weeapp python manage.py startapp weeapp
REFERENCES
'2021년 > ERROR' 카테고리의 다른 글
Exception: Python in worker has different version 3.6 than that in driver 3.8 (0) 2021.04.06 [Hadoop Jps] namenode, datanode가 실행되지 않는다면? (0) 2021.04.05 h2, Database not found, either pre-create it or allow remote database creation 에러 해결 (0) 2021.03.18 Could not find json-lib-2.4.jar (net.sf.json-lib:json-lib:2.4). (0) 2021.03.04 urllib.error.URLError (0) 2021.03.02