inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

172만명의 커뮤니티!! 함께 토론해봐요.

배포 사이트 api 키 입력

미해결

초보자를 위한 ChatGPT API 활용법 - API 기본 문법부터 12가지 프로그램 제작 배포까지

배포할때 항상 api 키를 사이트에서 번거롭게 입력하지 않고 자동으로 쿠키나 이런거로 자동완성되거나 키를 입력하지 않는 방법은 없을까요?

  • python
  • 챗봇
  • streamlit
  • openai
  • chatgpt
우트리 댓글 1 좋아요 0 조회수 529

pdf 파일 12_SQLALCHEMY_ADVANCE 소스파일이 다릅니다

미해결

처음하는 파이썬 백엔드 FastAPI 입문 (FastAPI부터 비동기 SQLAlchemy까지) [풀스택 Part1-2]

가장 첫번째 페이지 데이터 검색 (읽기) 에 나와있는 코드와 링크를 누르고 깃허브에 들어가서 나오는 코드가 다릅니다 . 수정부탁드립니다

  • python
  • mvc
  • sqlalchemy
  • FastAPI
  • backend
대성 댓글 2 좋아요 0 조회수 272

goupby.mean() 오류

미해결

파이썬 무료 강의 (활용편5) - 데이터 분석 및 시각화

그룹화 강의에서 df.groupby('학교').mean() 이 문을 실행했을때 TypeError가 나타나는데 강사님께서는 결과값이 잘 나옵니다. 어떤 차이인지 그리고 어떤 부분이 틀린건지 알고싶습니다. 자료형 문제인거 같은데 정확히 모르겠어서 문의드립니다. <데이터> <오류 내용>

  • python
  • pandas
  • groupby
조문영 댓글 1 좋아요 1 조회수 754

코드는 어디서 볼 수 있는거죠?

해결됨

스트림릿(Streamlit)을 활용한 파이썬 웹앱 제작하기

코드 볼 수 있는 곳이 안보이네요. 파일 올려주시면 감사하겠습니다. 그리고 해당 링크들어가서 실행하면 아래와 같은 오류가 뜹니다. InvalidRequestErro : The model `text-davinci-003` has been deprecated, learn more here: h ttps://platform.openai.com/docs/deprecations r 사용하고 있는 모델이 중지된거같은데 한번 알아봐주시면 감사하겠습니다.

  • streamlit
꾸해 댓글 2 좋아요 0 조회수 325

6-1 질문

해결됨

실리콘밸리 엔지니어가 가르치는 파이썬 장고 웹프로그래밍

runserver을 하기 위해서 manage.py 를 사용하는데 만약에 mysite를 이용하기 위해서는 mysite에 있는 manage.py 를 이용해야하고 dealershop을 이용하기 위해서는 거기있는걸 이용해야하는건가요?? 처음에 mysite의 manage.py 를 이용해서 하다가 inventory로 안넘어가길래 무슨 문제가 있나 했어요ㅠㅠ

  • python
  • django
  • bootstrap
  • rest-api
  • drf
최진욱 댓글 1 좋아요 1 조회수 233

결과값 출력이 한줄로 통으로 나와요.

미해결

초보자를 위한 ChatGPT API 활용법 - API 기본 문법부터 12가지 프로그램 제작 배포까지

json 데이터 확인하는 강의에서 print(response) 입력후 선생님처럼 정리되서 안나오고 결과값이 한줄 통으로 나오는데요... 가독성이 떨어져서.. 설정이 따로 있는걸까요?

  • python
  • 챗봇
  • streamlit
  • openai
  • chatgpt
lagren 댓글 1 좋아요 0 조회수 349

강의자료 다운로드 문의드립니다.

해결됨

[리뉴얼] 처음하는 파이썬 백엔드와 웹기술 입문 (파이썬 중급, flask[플라스크] 로 이해하는 백엔드 및 웹기술 기본) [풀스택 Part1-1]

구름 모양 버튼으로 강의자료를 받으려했는데, 실패가 계속 뜨더라구요 ! 보안 알림도 같이 뜨는데 확인 부탁드립니다 !

  • python
  • rest-api
  • flask
쿼발자 댓글 1 좋아요 1 조회수 298

키 등록했는하고 카드 등록했는데 429오류가 발생합니다.

미해결

초보자를 위한 ChatGPT API 활용법 - API 기본 문법부터 12가지 프로그램 제작 배포까지

RateLimitError : Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors .', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} 첫번째 계정으로 카드 등록하고 11달러 결제 했는데 위 오류가 발생합니다. 혹시 몰라 새로 구글 계정을 만들었는데도 동일한 오류가 발생합니다.

  • python
  • 챗봇
  • streamlit
  • openai
  • chatgpt
손봉호 댓글 2 좋아요 0 조회수 4720

안녕하십니까! 질문이 있습니다.

미해결

[개정판] 딥러닝 컴퓨터 비전 완벽 가이드

32 32 에서는 보다 작은 이미지들이 검출되고 4 * 4에는 보다 큰 이미지들이 검출된다고 말씀하셨는데. FC layer은 사이즈 마다 실행되는건가요? 예를들어 32 32에서는 사람이 검색되고 4 4에서는 자동차가 검출되었다고 했을 때 32 32에서도 FClayer가 수행이되고 4 4에서도 FClayer가 수행되서 결과로는 자동차 & 사람 모두가 검출되는 원리 인건가요?

  • python
  • 머신러닝
  • 딥러닝
  • keras
  • tensorflow
  • 컴퓨터-비전
Alex 댓글 1 좋아요 0 조회수 206

정답 오류

미해결

프로그래밍 시작하기 : 도전! 45가지 파이썬 기초 문법 실습 (Inflearn Original)

in_str = "../source/22-1.txt" with open(in_str, 'r') as file: txt = file.read() txt = txt.replace(","," ") txt_list = txt.split() print(txt_list) print(len(txt_list)) 영상속에서는 split()을 기본값으로 설정을 안하고 split(" ") 으로 해서 which\npermits 을 한단어로 인식해 정답이 72로 나오는데 기본값으로 하면 73으로 나옵니다 저거는 왜 인식이 안되서 72가 정답이되는거죠? 정규표현식으로 했을때도 저 단어만 인식을 못하고있습니다

  • python
건민 댓글 2 좋아요 0 조회수 288

환경설정 내용은 없는건가요?

해결됨

핵 of 핵 파이썬 기초 문법

1강 파이썬 프로그래밍 환경 설치 및 설정하기로 되어 있고 이어서 해보겠다라고 하는데, 환경 설치 및 설정 내용이 없습니다. 의도하신 내용이신지요?

  • python
김정수 댓글 1 좋아요 0 조회수 268

사이킷런 업그레이드 수행 및 XGBoost와 LightGBM 설치 강의 (mac os용 영상이나 가이드)

미해결

[개정판] 파이썬 머신러닝 완벽 가이드

안녕하십니까 교수님. 사이킷런 업그레이드 수행 및 XGBoost와 LightGBM 설치 강의를 듣는 중 영상이 윈도우에 초점이 되어있는데 저는 mac os를 쓰고 있습니다. 1:19초부터 진도를 못따라가겠는데 mac 용 설치방법 영상이나 가이드는 따로 없을까요?

  • python
  • 머신러닝
  • 통계
spah853 댓글 2 좋아요 0 조회수 766

파이썬 for문 질문이요!

미해결

궁금한게 저기서 i와 j가 동일한 행을 뽑고 싶은데 해당하는 df전체 열을 뽑고 싶으면 코드를 어떻게 짜야할까요? 도와주세요..

  • for문
  • python
newtjsdud 댓글 3 좋아요 1 조회수 356

iframe 상영시간표 가져오기

미해결

파이썬으로 영화 예매 오픈 알리미 만들기

안녕하세요. 인프런 강의에 푹빠져서 여기까지 오게 된 사람입니다. http://www.cgv.co.kr/common/showtimes/iframeTheater.aspx?areacode=01&theatercode=0013&date=20240322 지금 보여주는 링크는 requests로 페이지 정보 가져오기에서 CGV 용상아이파크몰 상영시간표를 가져오는 것인데 iframe의 주소를 가져오면 하얀 화면만 나오고 아무것도 안나옵니다. 이럴 경우 어떻게 해야하는지 알고싶습니다. 도움을 좀 주셨으면 합니다. 감사합니다.

  • python
동철김 댓글 1 좋아요 0 조회수 604

black 설치

해결됨

파이썬/장고 웹서비스 개발 완벽 가이드 with 리액트 (장고 4.2 기준)

안녕하세요 00-06 black 설치과정에 질문입니다. 라이브러리에 추가하고 black 패키지 추가하려고 하니깐 활성화가 안되어있습니다.. 어떻게 조치해야 될까요?

  • react
  • python
  • django
  • web-api
  • htmx
별다방 댓글 1 좋아요 1 조회수 240

업로드가 되지 않습니다.

미해결

워드프레스 자동 포스팅 프로그램 개발 강의 (ChatGPT API)

안녕하세요, 수강중인 학생입니다. 3.upload.py 부터 코드가 제대로 동작하지 않습니다. raise RemoteDisconnected("Remote end closed connection without" http.client.RemoteDisconnected: Remote end closed connection without response 이런 내용으로 인해 글이 올라가지 않는데 원인이 무엇일까요?

  • python
  • wordpress
  • openai
  • xmlrpcclient
  • chatgpt
조우진 댓글 3 좋아요 0 조회수 403

ch09의 '01_yt_extract_summerize_exp.ipynb' 실습중 에러

미해결

초보자를 위한 ChatGPT API 활용법 - API 기본 문법부터 12가지 프로그램 제작 배포까지

안녕하세요 ch09의 '01_yt_extract_summerize_exp.ipynb' 실습중에 마지막 'googletrans' 설치 및 실행시 오류가 발생합니다. openai 랑 googletrans 에서 사용하는 라이브러리가 충돌나는거 같은데 해결방법 있을까요? googletrans 설치시 pip install googletrans==3.1.0a0 Collecting googletrans==3.1.0a0 Using cached googletrans-3.1.0a0-py3-none-any.whl Collecting httpx==0.13.3 (from googletrans==3.1.0a0) Using cached httpx-0.13.3-py3-none-any.whl.metadata (25 kB) Requirement already satisfied: certifi in e:\python\inflearn_chatgpt-main\ch09\ch09_env\lib\site-packages (from httpx==0.13.3->googletrans==3.1.0a0) (2024.2.2) Collecting hstspreload (from httpx==0.13.3->googletrans==3.1.0a0) Using cached hstspreload-2024.3.1-py3-none-any.whl.metadata (2.1 kB) Requirement already satisfied: sniffio in e:\python\inflearn_chatgpt-main\ch09\ch09_env\lib\site-packages (from httpx==0.13.3->googletrans==3.1.0a0) (1.3.1) Collecting chardet==3.* (from httpx==0.13.3->googletrans==3.1.0a0) Using cached chardet-3.0.4-py2.py3-none-any.whl.metadata (3.2 kB) Collecting idna==2.* (from httpx==0.13.3->googletrans==3.1.0a0) Using cached idna-2.10-py2.py3-none-any.whl.metadata (9.1 kB) Collecting rfc3986<2,>=1.3 (from httpx==0.13.3->googletrans==3.1.0a0) Using cached rfc3986-1.5.0-py2.py3-none-any.whl.metadata (6.5 kB) Collecting httpcore==0.9.* (from httpx==0.13.3->googletrans==3.1.0a0) Using cached httpcore-0.9.1-py3-none-any.whl.metadata (4.6 kB) Collecting h11<0.10,>=0.8 (from httpcore==0.9.*->httpx==0.13.3->googletrans==3.1.0a0) Using cached h11-0.9.0-py2.py3-none-any.whl.metadata (8.1 kB) Collecting h2==3.* (from httpcore==0.9.*->httpx==0.13.3->googletrans==3.1.0a0) Using cached h2-3.2.0-py2.py3-none-any.whl.metadata (32 kB) Collecting hyperframe<6,>=5.2.0 (from h2==3.*->httpcore==0.9.*->httpx==0.13.3->googletrans==3.1.0a0) Using cached hyperframe-5.2.0-py2.py3-none-any.whl.metadata (7.2 kB) Collecting hpack<4,>=3.0 (from h2==3.*->httpcore==0.9.*->httpx==0.13.3->googletrans==3.1.0a0) Using cached hpack-3.0.0-py2.py3-none-any.whl.metadata (7.0 kB) Using cached httpx-0.13.3-py3-none-any.whl (55 kB) Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Using cached httpcore-0.9.1-py3-none-any.whl (42 kB) Using cached idna-2.10-py2.py3-none-any.whl (58 kB) Using cached h2-3.2.0-py2.py3-none-any.whl (65 kB) Using cached rfc3986-1.5.0-py2.py3-none-any.whl (31 kB) Using cached hstspreload-2024.3.1-py3-none-any.whl (1.1 MB) Using cached h11-0.9.0-py2.py3-none-any.whl (53 kB) Using cached hpack-3.0.0-py2.py3-none-any.whl (38 kB) Using cached hyperframe-5.2.0-py2.py3-none-any.whl (12 kB) Installing collected packages: rfc3986, hyperframe, hpack, h11, chardet, idna, hstspreload, h2, httpcore, httpx, googletrans Attempting uninstall: h11 Found existing installation: h11 0.14.0 Uninstalling h11-0.14.0: Successfully uninstalled h11-0.14.0 Attempting uninstall: idna Found existing installation: idna 3.6 Uninstalling idna-3.6: Successfully uninstalled idna-3.6 Attempting uninstall: httpcore Found existing installation: httpcore 1.0.4 Uninstalling httpcore-1.0.4: Successfully uninstalled httpcore-1.0.4 Attempting uninstall: httpx Found existing installation: httpx 0.27.0 Uninstalling httpx-0.27.0: Successfully uninstalled httpx-0.27.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. openai 1.14.1 requires httpx<1,>=0.23.0, but you have httpx 0.13.3 which is incompatible. Successfully installed chardet-3.0.4 googletrans-3.1.0a0 h11-0.9.0 h2-3.2.0 hpack-3.0.0 hstspreload-2024.3.1 httpcore-0.9.1 httpx-0.13.3 hyperframe-5.2.0 idna-2.10 rfc3986-1.5.0 설치오류 무시하고 google_trans() 실행시 --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[14], line 1 ----> 1 from googletrans import Translator 3 def google_trans(messages): 4 google = Translator() File e:\Python\inflearn_chatGPT-main\ch09\ch09_env\Lib\site-packages\googletrans\__init__.py:6 2 __all__ = 'Translator', 3 __version__ = '3.1.0-alpha' ----> 6 from googletrans.client import Translator 7 from googletrans.constants import LANGCODES, LANGUAGES # noqa File e:\Python\inflearn_chatGPT-main\ch09\ch09_env\Lib\site-packages\googletrans\client.py:27 22 from googletrans.models import Translated, Detected 24 EXCLUDES = ('en', 'ca', 'fr') ---> 27 class Translator: 28 """Google Translate ajax API implementation class 29 30 You have to create an instance of Translator to use this API (...) 52 :type raise_exception: boolean 53 """ 55 def __init__(self, service_urls=DEFAULT_CLIENT_SERVICE_URLS, user_agent=DEFAULT_USER_AGENT, 56 raise_exception=DEFAULT_RAISE_EXCEPTION, ... 59 http2=True): 61 self.client = httpx.Client(http2=http2) 62 if proxies is not None: # pragma: nocover AttributeError: module 'httpcore' has no attribute 'SyncHTTPTransport' Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...

  • python
  • 챗봇
  • streamlit
  • openai
  • chatgpt
doRemiPa 댓글 1 좋아요 0 조회수 290

import pygame에서 계속 오류가 발생해요

미해결

파이썬 무료 강의 (활용편1) - 추억의 오락실 게임 만들기 (3시간)

cmd에서 import pygame했을 때는 오류없이 제대로 됐는데 Vs code에서 import pygame을 하면 이런 오류가 계속해서 발생합니다. 어떻게 해야되나요? Exception has occurred: ModuleNotFoundError No module named 'pygame' File " C:\Users\User\Desktop\PythonWorkspace\pygame_basic\1_create_ frame.py ", line 1, in <module> import pygame ModuleNotFoundError: No module named 'pygame'

  • python
  • pygame
  • gui
서민서 댓글 2 좋아요 0 조회수 3715

강의 슬라이드 공유가 가능할까요?

미해결

모두를 위한 대규모 언어 모델 LLM Part 3 - 구글 제미나이(Google Gemini) API, OpenAI API와 젬마(Gemma)로 AI 어플리케이션 만들기

LLM Part 1 과 Part 2 는 강의 슬라이드를 공유해 주셨는데 Part 3 는 강의 슬라이드가 없어서 문의드립니다.

  • 딥러닝
  • streamlit
  • gemini
  • multimodal
  • chatgpt
  • llm
  • openai-api
  • gemma
빛나는봄 댓글 1 좋아요 0 조회수 261

인기 태그

인프런 TOP Writers

주간 인기글