Skip to content

Initializing python package pdfbox throws me out of python #34

@kumarabhisek91

Description

@kumarabhisek91

I used Pip to install pdfbox. When I try to import it at the REPL, it quits the interpreter:

PS D:\AssetExtraction> python
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import pdfbox
p = pdfbox.PDFBox()
PS D:\AssetExtraction>

The relevant environment variables look OK:

JAVA_HOME D:\Python_385\jre\jdk-17.0.5
PDFBOX D:\Python_385\pdfbox\pdfbox-app-2.0.21.jar

I have PDFBox working on other systems with the same setup but can't get it to work on this machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions