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

install script under linux is incomplete #50

Open
nicoursi opened this issue Nov 9, 2024 · 0 comments
Open

install script under linux is incomplete #50

nicoursi opened this issue Nov 9, 2024 · 0 comments

Comments

@nicoursi
Copy link

nicoursi commented Nov 9, 2024

The install script provided assumes on has already installed a venv environment. If this has not happened the script will fail with errors.

Here a more complete version

# 1. Create the virtual environment
python3 -m venv ~/pdf2pdfocr-venv

# 2. Activate the virtual environment
source ~/pdf2pdfocr-venv/bin/activate

# 3. Install any dependencies (if requirements.txt is available)
pip install -r requirements.txt

# 4. Copy Python files to the virtual environment bin directory
cp *.py ~/pdf2pdfocr-venv/bin/

# 5. Copy executables to /usr/local/bin
cp pdf2pdfocr pdf2pdfocr_gui /usr/local/bin
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