본문 바로가기

Update4

node 버전 업데이트하기 기존에 사용하던 node의 버전이 너무 낮아서 update를 하기로 했다. https://www.npmjs.com/package/n n Interactively Manage All Your Node Versions. Latest version: 8.0.2, last published: 2 months ago. Start using n in your project by running `npm i n`. There are 19 other projects in the npm registry using n. www.npmjs.com npm에 node 버전을 관리할 수 있는 n이라는 패키지가 있어서 사용해보려고 한다. npm을 이용해 n을 전역으로 설치 npm install -g n n stable을 입력하면 n.. 2022. 3. 1.
Cannot add or update a child row: a foreign key constraint fails ==>참조무결성에 따라 참조키는 항상 부모키에 해당하는 값만 넣을 수 있다. 참조받는 테이블의 데이터를 먼저 삽입해서 발생한 오류. 데이터를 삭제한 뒤 참조키 설정하였다. 2020. 9. 18.
vscode pylance 설치 및 update 적용하기 (vscode version) vscode python 자동완성 플러그인 : pylance vscode에서 파이썬을 사용할 때, 자동완성을 이용하고 싶을 때 pylance플러그인을 설치하면 된다. pylance 링크 https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance Pylance - Visual Studio Marketplace Extension for Visual Studio Code - A performant, feature-rich language server for Python in VS Code marketplace.visualstudio.com vscode에서 언제나처럼 extensions에 pylance를 검색하여 install하면 된.. 2020. 9. 18.
auto py to exe 사용법 파이썬으로 프로그램을 짜고 편하게 EXE로 만들 수 있는 auto-py-to-exe 사용법 https://pypi.org/project/auto-py-to-exe/ [참고]$ git clone https://github.com/brentvollebregt/auto-py-to-exe.git$ cd auto-py-to-exe$ python setup.py install 설치 후 해당 폴더에서 python run.py를 실행 각각 해당 사항에 맞는 폴더를 설정한 후 CONVERT를 했을 때 pyqt5 의 경로를 찾을 수없다는 에러가 발생하였다. [Cannot find existing PyQt5 plugin directories] 이 때는 파워쉘에서 pip install pyqt5로 해결을 하면 된다고 한다. .. 2019. 3. 7.