url = "https://finance.naver.com/item/sise.nhn?code=352820" pd.read_html(url, encoding='cp949') AttributeError: 'SoupStrainer' object has no attribute 'name' 상기와 같이 코드 실행시 에러가 발생합니다.. 원인을 알려주십시요
1) 이미지 5개 생성으로 한바퀴 돌리고 영상 생성 때마다 이미지 요청 가지 않도록 pin으로 고정했음(초록색 형광펜) 2) 그 이후 영상 생성하기 위해 get lows in sheet 눌러서 excute 눌렀는데 노란색 형광펜 표시된것처럼 무한정 돌아갑니다 10번까지 되길래;;중지 처리햇는데 어떤 부분이 잘못된걸까요?
anaconda 홈페이지에서 기존 indivisual 설치가 되지 않아 Q&A 에 답변 해주신 miniconda를 설치 하였습니다. 설치후 cmd를 치니 anaconda prompt 가 떳고 여기서 python --version을 확인하니 python만 써지고 버전은 나오지 않네요. 3.14.3 version을 설치 한 상태 입니다 . 혹시 몰라 mkdir 와 jupyer note book 까지 진행 해 봤지만. 더이상 강의를 따라갈수가 없네요 .. 아래는 prompt 화면 입니다 .
GPT에 소스 작성 요청해서 작성해서 돌리는데 자꾸 모듈 설치하라고 합니다. 첫번째는 matplotlib 두번째는 padas GPT 보고 이거 두개는 따라서 설치했는데 pykrx 모듈은 설치할때 오류가 발생해서 따라가질 못하고 있습니다. GPT 답변을 보면 64비트 환경에서 해야한다고 하는데 어떻게 해야합니까? 아래 질문들 보니 비슷한 문제인것 같은데 강좌찍는 기준이 아닌, 컴퓨터 가상환경 한번 만들어서 지금도 제대로 되는 강좌 내용인지 체크를 먼저 해보셔야할것 같습니다. ===GPT 답변 로그를 보면 원인이 딱 한 줄로 정리됩니다. Need python for x86_64, but found x86 (64비트용 파이썬이 필요한데 32비트(x86) 파이썬을 찾았다는 뜻) 즉, 지금 kiwoom_32 는 32비트 파이썬(win-32) 인데, pykrx 가 요구하는 pandas>=2.2 가 설치되면서 pandas 2.3.3 를 받았고, 이 pandas는 사실상 윈도우 32비트용 휠이 없거나 지원이 매우 제한적 이라서 소스 빌드로 넘어가며 실패 한 상황입니다. 결론: 32비트 환경에서는 최신 pykrx(=pandas 2.x 의존) 설치가 거의 불가능/매우 불안정 합니다. ============ 에러로그 ============= (kiwoom_32) C:\Users\xyxy>pip install pykrx Collecting pykrx Using cached pykrx-1.2.4-py3-none-any.whl.metadata (64 kB) Collecting requests>=2.32.0 (from pykrx) Using cached requests-2.32.5-py3-none-any.whl.metadata (4.9 kB) Collecting pandas<3.0,>=2.2.0 (from pykrx) Using cached pandas-2.3.3.tar.gz (4.5 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [23 lines of output] + meson setup C:\Users\jenty\AppData\Local\Temp\pip-install-v0wslijc\pandas_ffb08af553a04f0e91687bc1943ac7df C:\Users\jenty\AppData\Local\Temp\pip-install-v0wslijc\pandas_ffb08af553a04f0e91687bc1943ac7df\.mesonpy-29opmn2w -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\jenty\AppData\Local\Temp\pip-install-v0wslijc\pandas_ffb08af553a04f0e91687bc1943ac7df\.mesonpy-29opmn2w\meson-python-native-file.ini The Meson build system Version: 1.10.1 Source dir: C:\Users\jenty\AppData\Local\Temp\pip-install-v0wslijc\pandas_ffb08af553a04f0e91687bc1943ac7df Build dir: C:\Users\jenty\AppData\Local\Temp\pip-install-v0wslijc\pandas_ffb08af553a04f0e91687bc1943ac7df\.mesonpy-29opmn2w Build type: native build Activating VS 17.14.24 Project name: pandas Project version: 2.3.3 C compiler for the host machine: cl (msvc 19.44.35222 "Microsoft (R) C/C++ 최적화 컴파일러 버전 19.44.35222(x64)") C linker for the host machine: link link 14.44.35222.0 C++ compiler for the host machine: cl (msvc 19.44.35222 "Microsoft (R) C/C++ 최적화 컴파일러 버전 19.44.35222(x64)") C++ linker for the host machine: link link 14.44.35222.0 Cython compiler for the host machine: cython (cython 3.2.4) Host machine cpu family: x86_64 Host machine cpu: x86_64 Program python found: YES (C:\Users\jenty\.conda\envs\kiwoom_32\python.exe) Need python for x86_64, but found x86 Run-time dependency python found: NO (tried pkgconfig and sysconfig) ..\pandas\_libs\tslibs\meson.build:32:7: ERROR: Python dependency not found A full log can be found at C:\Users\jenty\AppData\Local\Temp\pip-install-v0wslijc\pandas_ffb08af553a04f0e91687bc1943ac7df\.mesonpy-29opmn2w\meson-logs\meson-log.txt [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> pandas note: This is an issue with the package mentioned above, not pip. hint: See above for details.