Python
2024.07.17
설치brew install miniforge초기화 (필수)conda init zsh초기화 적용source ~/.zshrc환경 추가conda create -n fastapi_with_tensorflow python=3.8환경 액티브conda activate fastapi_with_tensorflow환경 리스트 보기conda env list터미널 inyeong@MacBookPro ~ % brew install miniforgeinyeong@MacBookPro ~ % conda init zshinyeong@MacBookPro ~ % source ~/.zshrc(base) inyeong@MacBookPro ~ % conda create -n fastapi_with_tensorflow python=3.8(base..
Python/Django
2017.05.11
해당 앱 폴더 밑에 models.py 를 작성하고 저장 터미널에$ python3 manage.py makemigrations 앱이름 tehon:~/workspace $ python3 manage.py makemigrations dumo Migrations for 'dumo': dumo/migrations/0001_initial.py - Create model Post
Python/Django
2017.05.11
tehon:~/workspace $ sudo pip3 install Django tehon:~/workspace $ python3 manage.py migrate tehon:~/workspace $ python3 manage.py runserver $IP:$PORT 서버 끄기ctrl + c
Python/Django
2017.05.11
https://oracle.github.io/python-cx_Oracle/ $ python -m pip install cx_Oracle --pre $ python3 -m pip install cx_Oracle --pre
Python/Django
2017.05.11
DisallowedHost settings.py에서ALLOWED_HOSTS = [] 를 찾아서 [] 안에 접속 아이피를 넣던지'*'를 넣어주면 된다. ALLOWED_HOSTS = '*'
Python/Django
2017.05.11
ImportError: No module named django $ sudo pip3 install Django