Uninstalling a Python Package

This command may require administrative privileges to execute.

  1. To uninstall a Python package, enter the following command:
    1. Windows
      <INSTALLATION_ROOT>\common\python\python3.5\win64\python.exe -m pip uninstall <package>
    2. Linux
      <INSTALLATION_ROOT>/.altair/common/python/python3.5/linux64/bin/python3 ‐m pip uninstall <package>
  2. To uninstall a Python package that was installed using the “--user” option, enter the following commands:
    1. Windows
      set PYTHONUSERBASE=C:/Users/<userid>/.altair/Compose2019.3/hwx/python

      <INSTALLATION_ROOT>\common\python\python3.5\win64\python.exe ‐m pip uninstall <package>

    2. Linux
      export PYTHONUSERBASE=/home/<userid>/.altair/Compose2019.3/hwx/python

      <INSTALLATION_ROOT>/.altair/common/python/python3.5/linux64/bin/python3 ‐m pip uninstall <package>