본문 바로가기
반응형
[Python] 기존 프로젝트 pycharm 에 conda 환경 설정 이미 만들어놓은 conda 가상 환경을 pycharm 에 연동하기 위해서 우선 프로젝트의 Settings에 들어가야 한다. File >> Settings Conda 리스트 박스를 선택한다음 Show All 항목을 선택합니다. 다음에 + 버튼을 선택합니다. 존재하는 환경중에 자신이 원하는 가상 환경을 선택합니다. 2024. 2. 5.
[PYTHON] Pytorch, MiniConda, Cuda 개발 설정 for langChain 1. 개발 환경 설치 Miniconda 설치 아래 홈페이지에서 다운로드 받아 수행합니다. (Windows 64bit 용으로 설치함) https://docs.conda.io/projects/miniconda/en/latest/ Miniconda — miniconda documentation These three commands quickly and quietly install the latest 64-bit version of the installer and then clean up after themselves. To install a different version or architecture of Miniconda for Windows, change the name of the .exe install.. 2024. 2. 2.
[Python] Colaboratory 사용법 (기초) colab 은 브라우저를 통해 파이썬 코드를 작성하고 실행할 수 있는 환경이다 1) 구글 드라이브에 접속합니다. 2) 신규 를 선택합니다. 3) 연결할 앱 더보기 선택 4) colab 검색 5) Colaboratory 선택 6) Colab 설치 7) 완료 후 다시 “신규” 를 선택하여 “더보기” 에서 “Google Colaboratory” 를 선택 8) 코랩 환경에 접속합니다. 코드 입력후 “화살표” 아이콘이나 shift+enter 를 입력하여 코드를 실행합니다. 2024. 1. 30.
[PYTHON] QT UI 디자인 및 연결 하기 1. QT Designer 를 이용하여 UI 를 설계 합니다. 아래와 같이 설계를 하고 login 버튼에 btnLogin 이라는 이름을 주었습니다. 2. py 에 QT UI 파일을 링크 하고 클래스를 정의해 줍니다. 3. 이벤트 등록을 하고 이벤트 함수 처리를 수행합니다. from pykiwoom.kiwoom import * from time import sleep # QT UI 를 위해서 라이브러리를 열어 준다. from PyQt5.QtWidgets import * from PyQt5 import uic # UI 파일을 연결한다. cls_dlg_main = uic.loadUiType("./dlg_main.ui")[0] class MainClass(QMainWindow, cls_dlg_main): def.. 2022. 9. 8.
ModuleNotFoundError: No module named 'openpyxl' pip install openpyxl 2022. 9. 7.
반응형