python-pdfbox icon indicating copy to clipboard operation
python-pdfbox copied to clipboard

Initializing python package pdfbox throws me out of python

Open kumarabhisek91 opened this issue 2 years ago • 0 comments

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.

kumarabhisek91 avatar Nov 24 '23 08:11 kumarabhisek91