Skip to main content

ensurepath

Problem

Some users (mainly on Windows) had an issue where abstra was not recognized as a command after installation. Examples:

  • In Windows cmd: 'abstra' is not recognized as an internal or external command
  • In Windows powershell: the term 'abstra' is not recognized as the name of a cmdlet, function, script file, or operable program

This was due to the abstra package not being added to the user's PATH.

Solution

To resolve this issue, use the ensurepath utility command as follows:

python -m abstra.ensurepath
# or
py -m abstra.ensurepath

After this you may need to restart the shell to apply the changes.