Installation issue

#1

Its a pretty trivial question i hope , but unfortunately i am in need of help …

I cannot do package install or pip/brew/npm in my environment , i am trying to use the tar ball obtained from https://archlinux.pkgs.org/rolling/archlinux-community-x86_64/asciinema-2.0.0-1-any.pkg.tar.xz.html location.

Currently running into issue module “asciinema” not found - i have tried updating the PYTHONPATH and it did not help.

Please help , i am a python novice too.

0 Likes

#2

If you can’t use any package manager than you can download the latest release from here: https://github.com/asciinema/asciinema/releases/tag/v2.0.0

Pick either zip or tar.gz, download and extract it. For example:

mkdir -p /target/directory
tar xzf asciinema-2.0.0.tar.gz -C /target/directory

Then you can create a wrapper script with the following contents:

#!/usr/bin/env bash

PYTHONPATH=/target/directory/asciinema-2.0.0 python3 -m asciinema "$@"

Save the above script as asciinema and put it in your $PATH.

I hope this helps.

0 Likes

#3

It surprises me how you are not tempted to quickly and easily promote the use of your thing by creating casts to support the explanations you give

:slight_smile:

1 Like