3-1.py 를 실행하면 제목과 같이 pykrx가 없다고 나옵니다. 앞의 게시물들을 참고하여 anaconda prompt에서 pandas==2.03 으로 설치하고 matplotlib 도 설치했습니다. pip list --version 을 해서 보면 아래와 같이 설치되어 있는 것 같습니다. pykrx 1.0.48 python >>> from pykrx import stock >>> stock.get_market_ohlcv_by_date("2023-01-01", "2023-01-31", "005930") 이걸로 실행해보면 결과가 잘 나옵니다. 이것도 정상적으로 나옵니다. 그런데 3-1.py를 실행하면 pykrx가 없다고 나옵니다. 도움을 부탁드립니다.
[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
mystr = ' a man goes into the rooom...' print(mystr.strip('..')) 강사님이 작성하신 mystr.strip('.')과 똑같이 위 코드를 돌렸을 때에도 점 세 개가 모두 지워지는 결과를 확인했습니다. 만일 해당 str문에서 "점 두 개"만 지워 달라는 의도를 가졌다고 가정하면 이를 어떤 식으로 해결해야 하는 지 의구심이 생겨서 해당 질문 글을 남깁니다.
안녕하세요 11월 30일 실기 시험 준비를 위해 해당 강의를 시청하는데, 현재 강의 수강 만료일이 11월 5일로 예정되어 있이 학습에 어려움이 있습니다. 11월 30일까지 강의 수강 기간을 연장 가능한지 문의드립니다. 일정부분 비용 발생하더라도 상관없으니 검토 부탁드리겠습니다.
인프런 강의와 2025 시나공 빅데이터 분석기사 실기 책 같이 보면서 공부중입니다. 작업형2 연습문제를 풀고 있는데, 성능개선을 위해 하이퍼파라미터 튜닝 시 문제마다 적용되는 max_depth, n_estimators 값 범위가 다르더라구요. 혹시 파라미터 값 범위를 지정하는 어떤 기준이 있는건지... 어떤 식으로 값을 조정해야하는건지 궁금합니다.
sql을 설치하고 Mysql configurator를 통해서 마지막에 execute를 시도하는데 계속 Database initialization failed. 에러가 발생합니다 ㅠㅠ 처음엔 한글경로 문제인가 싶어서 이름도 모두 영어로 바꾸고 재설치도 10번은 해본거 같은데 해결이 안되네요 ㅠㅠ 혹시 해결 방법이 있을까요.. 로그 남겨둡니다.. ㅠ Beginning configuration step: Writing configuration file Saving my.ini configuration file... Saved my.ini configuration file. Ended configuration step: Writing configuration file Beginning configuration step: Updating Windows Firewall rules Adding a Windows Firewall rule for MySQL911 on port 3306. Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow 확인됨 Successfully added the Windows Firewall rule. Adding a Windows Firewall rule for MySQL911 on port 33060. Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 33060" protocol=TCP localport=33060 dir=in action=allow 확인됨 Successfully added the Windows Firewall rule. Ended configuration step: Updating Windows Firewall rules Beginning configuration step: Adjusting Windows service Attempting to grant the required filesystem permissions to the 'NT AUTHORITY\NetworkService' account. Granted permissions to the data directory. Granted permissions to the install directory. Adding new service New service added Ended configuration step: Adjusting Windows service Beginning configuration step: Initializing database (may take a long time) Attempting to run MySQL Server with --initialize-insecure option... Starting process for MySQL Server 9.1.0... Starting process with command: C:\Program Files\MySQL\MySQL Server 9.1\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 9.1\my.ini" --console --initialize-insecure=on --lower-case-table-names=1... Process for mysqld, with ID 14936, was run successfully and exited with code -1073741819. Failed to start process for MySQL Server 9.1.0. Database initialization failed. Ended configuration step: Initializing database (may take a long time)
화면 왼쪽의 [Q1. 자격증명], [Q2. 암호문] 등의 버튼을 클릭해도 해당 문제가 있는 html페이지로 넘어가지 않습니다 chrome 외에 safari로 해도 마찬가지이고요 url 파라미터로 page=2 넣어서 직접 접속하니 넘어가기는 해서 불편한 대로 쓰고는 있는데요 https://pyalgo.co.kr/?page=2 처음 오는 분들은 이런 부분을 전혀 모르실 거고 애초 명백히 잘못된 버그이니 빨리 고쳐주시기 바랍니다 <li><a href="#" id="q1" class="btn-que success">Q1. 자격 증명</a></li> 보니까 href속성에 값이 제대로 있지 않습니다 임의로 값을 바꾸고 클릭하니 잘 넘어가지네요
학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! 질문과 관련된 영상 위치를 알려주면 더 빠르게 답변할 수 있어요 먼저 유사한 질문이 있었는지 검색해보세요 여기서 처음처럼 20이 출력되도록 초기화?하려면 어떻게 해야 하나요? # 20 = 10 + 10 box = box + box box
내 업무를 대신 할 파이썬(Python) 웹크롤링 & 자동화 (feat. 주식, 부동산 데이터 / 인스타그램)
PackagesNotFoundError: The following packages are not available from current channels: - python=3.8.5* 이런거 나오면서 가상환경 설치가 안되면, conda create -n crawling_class -c conda-forge python=3.8.5 이렇게 하니까 해결되네요. Mt시리즈에서는 3.8.5버전이 기본지원이 안된다고함.
프로그래밍 시작하기 : 도전! 45가지 파이썬 기초 문법 실습 (Inflearn Original)
def cnt_word1(filepath): with open(filepath,'r') as file: txt = file.read () txt = txt.replace(',',' ') print(txt) print(cnt_word1("../source/22-1.txt")) 이렇게 그대로 사용했는데 아무것도 안뜹니다 오류메세지가 없는걸로 보아 오류는 아닌데 (그대로 입력) 파일 경로가 문제일까요?