Skip to content

Installation

Alex edited this page Apr 2, 2021 · 20 revisions

Installation on Linux

Requirements:

  • python 3.5+
  • python-pip (for system installation)

For (potentially) stable versions, take a look at the releases page. Latest version can be downloaded or cloned using git:

git clone https://github.com/allejok96/jw-scripts.git

You can run the scripts directly or install them with pip:

# System installation
cd jw-scripts
sudo pip install .

# Uninstallation
pip uninstall jw-scripts

Installation on Windows

You can install Python from the Windows store, but it is recommended to use the version from python.org.

  1. Install Python
    • Make sure to check "Add Python to PATH"
    • Include pip in the installation (default)
  2. Download and extract jw-scripts
  3. Using directly
    • Double click on portable.bat
  4. System installation
    • Double click on install.bat
    • Open a command prompt
  5. Type your jwb-index command
  6. To uninstall, run pip uninstall jw-scripts in a command prompt

Installation on MacOS

This is a problem with Python itself. From Stackoverflow:

ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)

When you run the python installer, they display this information to you. It is also documented in /Applications/Python 3.6/ReadMe.rtf, but it's very easily overlooked.

Just browse to Applications/Python 3.6 and double-click Install Certificates.command

There is an issue in the Python bug tracker about this.

Docker installation

cd jw-scripts
docker build -t jw-scripts .
docker run -v /Users/yourusername/Downloads:/downloads -it jw-scripts

Thanks to @andresavic.

Clone this wiki locally