IRONSOFTWAREHOME

오류: Python에서 IronPDF 찾지 못했습니다.

Curtis Chau
Curtis Chau
Updated: 2026년 4월 22일

.NET 6.0 SDK 및 IronPDF를 다음 명령을 사용하여 pip을 통해 설치한 것으로 가정합니다:

pip install ironpdf

Python 스크립트를 실행하는 동안 아래와 같은 예외가 발생할 수 있습니다.

Exception has occurred: Exception
Failed to locate IronPdf.Slim.dll at 'C:\Users\Name\AppData\Local\Programs\Python\Python311/IronPdf.Slim'. Please see /troubleshooting/quick-ironpdf-troubleshooting/for more information
  File "C:\Users\Name\OneDrive\Documents\IronPdfPythonNew\working\viewport.py", line 1, in <module>
    from ironpdf import *
Exception: Failed to locate IronPdf.Slim.dll at 'C:\Users\Name\AppData\Local\Programs\Python\Python311/IronPdf.Slim'. Please see https://ironpdf.com/troubleshooting/quick-ironpdf-troubleshooting/for more information
Text

해결책

IronPdf.Slim이 포함된 디렉터리는 다음과 같이 명시할 수 있습니다:

import sys
# Set the path to include the directory containing the IronPdf.Slim files.
# Users can determine this location by running `pip uninstall ironpdf` and pressing `N` to view the installation path.
sys.path.append('/path/to/python/packages')
Python

예를 들어

import sys
# Add the directory of the IronPdf installation to the path for module resolution.
# This should point to the root directory of where IronPdf is installed.
sys.path.append(r'C:\Users\lyty1\AppData\Local\Programs\Python\Python311\Lib\site-packages')

from ironpdf import *

# Instantiate Renderer
renderer = ChromePdfRenderer()

# Create a PDF from a URL or local file path
pdf = renderer.RenderUrlAsPdf("https://ironpdf.com/")

# Export to a file or Stream
pdf.SaveAs("url.pdf")
Python

이유

대부분의 타사 라이브러리는 "site-packages"라는 디렉터리에 설치되며, 이 디렉터리는 Python 설치 디렉터리 내에 있거나 가상 환경을 사용하는 경우 가상 환경 디렉터리 내에 있습니다. 이 디렉토리는 Python 인터프리터에서 접근할 수 있는 디렉토리입니다.

IronPDF는 IronPdf.SlimIronPdf.Native.Chrome.Windows 둘 다 설치합니다.

정확한 위치는 운영 체제 및 Python 구성에 따라 다를 수 있습니다.

Curtis Chau
기술 문서 작성자

커티스 차우는 칼턴 대학교에서 컴퓨터 과학 학사 학위를 취득했으며, Node.js, TypeScript, JavaScript, React를 전문으로 하는 프론트엔드 개발자입니다. 직관적이고 미적으로 뛰어난 사용자 인터페이스를 만드는 데 열정을 가진 그는 최신 프레임워크를 활용하고, 잘 구성되고 시각적으로 매력적인 매뉴얼을 제작하는 것을 즐깁니다.

...
더 읽어보기

시작할 준비 되셨나요?

버전:2026.6방금 출시

지금 바로 30일 무료 체험판 키를 받으세요.
신용카드나 계정 생성은 필요하지 않습니다.
PDF용 Python 모듈 다운로드
pip를 사용하여 설치하세요

버전: 2026.6

  1. Python 3.7 이상 버전 을 다운로드 하여 설치하세요.
  2. pip가 설치되어 있지 않다면 pypi.org 에서 설치하세요.
  3. 위 명령어를 터미널에서 실행하세요.
Python PDF 모듈
다운로드 모듈

버전: 2026.6

프로젝트에 수동으로 설치하세요

  1. 패키지를 다운로드하세요
  2. 터미널에서 이 명령어를 실행하세요
     pip install ironpdf-2026.6-py37-none-win_amd64.whi

라이선스 가격은 749달러 부터 시작합니다.

Key in blue circle

무료 30일 체험 키를 즉시 받으세요.

Your trial license will be sent to your email address

제한 없음. 100% 무제한 이용. 신용카드 불필요.

bullet_checked신용카드나 계정 생성은 필요하지 않습니다.제한 없음. 100% 무제한 이용. 신용카드 불필요.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
무료 라이브 데모를 예약하세요
Booking Badge

전 세계 수백만 엔지니어들이 신뢰하는 제품입니다.

Iron Software의 고객 로고
부담 없는 무료 상담을 받아보세요
아래 양식을 작성하시거나 sales@ironsoftware.com으로 이메일을 보내주세요.
고객님의 정보는 항상 비밀로 유지됩니다.
전 세계 수백만 엔지니어들이 신뢰하는 제품입니다.
Iron Software의 고객 로고
지금 바로 30일 무료 체험판 키를 받으세요.
신용카드나 계정 생성은 필요하지 않습니다.