728x90 반응형 Python6 Conda 로 python 가상환경 꾸미기 (Anaconda, Miniconda 동일) Anaconda 프롬프트 실행 => Miniconda3 (64-bit) > Anaconda Prompt (miniconda)를 실행합니다. 중간에 conda forge로 하는게 있음.. 3. 패키지 다운로드를 위한 conda-forge 리포지토리 채널을 추가하고, 채널 우선 순위를 변경합니다. conda config --show channels channels: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - https://repo.anaconda.com/pkgs/msys2 conda config --add channels conda-forge && conda config --set channel_prio.. 2025. 8. 24. python selenium 을 이용한 크롤링 예제. '''# Chrome 버전# 버전 135.0.7049.85(공식 빌드) (64비트)# chrome 115이상을 사용하면...Chrome for Testing 가용성 대시보드를 참조해야함.# 이 대시보드에는 특정 ChromeDriver 버전을 다운로드할 수 있는 JSON 엔드포인트가 있다.# http://googlechromelabs.github.io/chrome-for-testing/# 버전 135.0.7049.85(공식 빌드) (64비트) 용 다운로드https://storage.googleapis.com/chrome-for-testing-public/135.0.7049.84/win64/chromedriver-win64.zip# selenium 4.31.0 사용Selenium 4.6부터는 Seleniu.. 2025. 4. 15. numpy 와 python 버전이 안 맞을때 하루 1번!!! 우리의 꿈을 서로 응원해주면, 언젠가 더 나은 세상되지 않을까요?? 0.5초 광고클릭으로 저를 응원해주신 모든분들 꼭 부자되세요^^ 먼길 오셨는데, 도움받은 글 하나 없다면....다 제 잘못입니다. 죽는 날까지 계속 올릴테니, 언젠가 다시 한번 와주세요. 기다릴게요~~^^ python 3.9에서 pandas 를 사용하려니, numpy 버전때문에 실행 에러가 발생함. 1. 기존 numpy 를 uninstall => pip uninstall numpy 2. 새로운 numpy 버전 설치...이때 anaconda를 사용하고 있어서 anaconda prompt 를 사용해서 설치함. => pip install numpy==1.22.3 2022. 3. 31. f-strings (문자열 만들기) python 3.6부터 지원되는 f-strings는 문자열안에 치완될수 있는 변수를 쓰는 방식이다. 예를 들면...아래 소스를 보면, link 라는 변수의 값을 동적으로 받아서 html 변수에 들어가는 string 의 붉은색 {link} 부분에 값을 넣는다는 것이다. link = res.json()["data"]{"link"] html = f""" .... """ 추가적으로..아래 블로그도 읽어봐라. 좀더 자세하게 정리되어 있다. https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=wideeyed&logNo=221789949278 2021. 10. 1. 이전 1 2 다음 728x90 반응형