0

My python3 script currently requires pypdf2 for execution. If I want to run it on another device I would have to install python3, pip and pypdf2.

Is there a way to include pypdf2 into my script so that I only need python itself to run my script?

EDIT: The script runs on windows (10)

3

1 Answer 1

1

If you want to distribute your script you can do this using PyInstaller as a stand-alone application.
This is a python module that bundles the interpreter with all the required libraries.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.