본문 바로가기
반응형

프로그래밍언어4

Django rest Api with postgresql on MAC 현재 작성중입니다. python3 -m venv venv run venv => source venv/bin/activate if you want quit => deactvivate python -m pip install --upgrade pip pip install django djangorestframework django-cors-headers psycopg2 if error psycopg2 => psycopg2-binary new Project => django-admin.py startproject ProjectName . new App => python manage.py startapp AppName INSTALLED_APPS = [ ~~ 'rest_framework', 'countries.ap.. 2022. 9. 24.
python gui (tkinter error) on Mac Big Sur ModuleNotFoundError: No module named 'tkinter in PyCharm Tkinter 이란? 파이썬 기본 내장 gui 라이브러리 pycharm 에서 python gui 의 tkinter를 하게 되면 에러가 발생합니다. 구글에서 찾으면서 실행을 하여 겨우 찾아낸 방법을 기록으로 남겨봅니다. -- 현재 아래의 방법으로 해결하였습니다. -- MAC 터미널에서 기존 python3을 지우고 다시 설치 및 tk 버전을 지정하여 설치합니다. 사용에 brew를 사용합니다. 없는 경우 brew 도 설치 해야합니다. $ brew uninstall --ignore-dependencies python && brew install python $ brew install python-tk@3.9 그.. 2022. 9. 11.
React_Native_CLI 01 React_Native_CLI INSTALL AND CREATE FIRST APP node nodejs.org 에서 다운로드 설치 Homebrew brew install node 설치 버전 확인은 Terminal 에서 node -v React_Native_CLI https://reactnative.dev/docs/environment-setup Guides에 따라서 설치합니다. Extention in VSCODE React Native Tools React-Native/React/Redux snippets for es prettier material icon theme ESLint (eslint.org/docs/rules) How to edit .eslintrc.js add comment Ex) modu.. 2021. 12. 26.
[vscode] code 명령으로 vscode 열기 많은 강의를 보면 vscode로 프로그래밍 합니다. 터미널에서 프로젝트를 만들고 code . 명령어를 통해 터미널에서 바로 vscode를 실행하는 것을 보게됩니다. 따라서 하면 내컴퓨터에서 실행에 되질 않았습니다. 이유를 찾던 중 따로 설정이 필요했습니다. cmd + shift +p Shell Command : install 'code' command in PATH 검색하고 클릭 하면 설정 끝이다. 2021. 12. 25.
반응형