Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initializing python package pdfbox throws me out of python #34

Open
kumarabhisek91 opened this issue Nov 24, 2023 · 0 comments
Open

Initializing python package pdfbox throws me out of python #34

kumarabhisek91 opened this issue Nov 24, 2023 · 0 comments

Comments

@kumarabhisek91
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant