- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 12-02-2024 10:26 AM - edited on 12-09-2024 02:16 PM by DRay
Resolving installation error for Sisense - sisense-installer/bin/activate: no such file or directory
Summary
This article provides a basic understanding of a common error encountered during the installation of Sisense on Linux systems.
Verifying Python packages exist ...
./sisense.sh: line 240: sisense-installer/bin/activate: No such file or directory
Error occurred during generic_pre_install section
Exiting Installation ...
The error message typically indicates an issue with missing/incorrect Python-related resources that might prevent the installation from proceeding. This guide provides step-by-step instructions to validate and install the necessary packages for different Linux distributions, ensuring a successful installation of Sisense.
Main Content
Step-by-Step Instructions to Resolve the Issue
1. Identify Your Operating System:
Determine whether your system is running Ubuntu, RHEL/CentOS, or Amazon Linux:
sudo cat /etc/os-release
2. Validate and Install Required Packages:
For Ubuntu:
sudo apt-get update
sudo DEBIAN_FRONTEND=falseninteractive apt-get install -y gawk python3 netcat-openbsd python3-apt python3-pip dbus pssh sshpass
sudo rm -f /usr/lib/python$(python3 --version | awk '{print $2}' | awk -F '.' '{print $1"."$2}')/EXTERNALLY-MANAGED
sudo python3 -m pip install --upgrade --force-reinstall pip==21.1.3
sudo ln -sf /usr/local/bin/pip /usr/bin/pip
sudo apt-get install -y jq
sudo python3 -m pip install configparser zipp
sudo python3 -m pip install -r installer/requirements.txt --ignore-installed
^ The last command should be executed from the installation directory
For RHEL/CentOS/Rocky:
# If Running on CentOS/Rocky:
pkg_mngr=yum
# If Running on Red Hat:
pkg_mngr=dnf
# Make sure to use correct epel version, examples:
# epel_version=8
# epel_version=9
epel_version=${major_version}
sudo ${pkg_mngr} install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-${epel_version}.noarch.rpm
sudo ${pkg_mngr} install -y --enablerepo="epel" python3.9 python3-pip nc jq libselinux-python3 pssh sshpass
sudo ln -sf $(which python3.9) /usr/bin/python3
sudo python3 -m pip install --upgrade --force-reinstall pip==21.1.3
sudo ln -sf /usr/local/bin/pip /usr/bin/pip
sudo ${pkg_mngr} install -y gawk python3-libselinux
sudo python3 -m pip install configparser zipp
sudo python3 -m pip install -r installer/requirements.txt --ignore-installed
^ last command should be executed from the installation directory
For Amazon Linux 2.0:
sudo yum install -y gawk
sudo amazon-linux-extras install epel -y
sudo amazon-linux-extras install python3.8 -y
sudo ln -sf $(which python3.8) /usr/bin/python3
sudo yum install -y nc jq libselinux-python3 pssh sshpass
sudo python3 -m pip install --upgrade --force-reinstall pip==21.1.3
sudo python3 -m pip install selinux
sudo ln -sf /usr/local/bin/pip /usr/bin/pip
sudo amazon-linux-extras enable docker=latest
sudo python3 -m pip install configparser zipp
sudo python3 -m pip install -r installer/requirements.txt --ignore-installed
^ The last command should be executed from the installation directory
For Amazon Linux 2023:
sudo dnf install -y gawk python3 python3-pip python-pip nc jq libselinux-python3 git
sudo python3 -m pip install --upgrade --force-reinstall pip==21.1.3
sudo python3 -m pip install selinux
sudo dnf install -y https://rpmfind.net/linux/fedora/linux/releases/38/Everything/x86_64/os/Packages/s/sshpass-1.09-5.fc...
sudo python3 -m pip install git+https://github.com/lilydjwg/pssh
sudo ln -sf /usr/bin/pip /usr/local/bin/pip
sudo python3 -m pip install configparser zipp
sudo python3 -m pip install -r installer/requirements.txt --ignore-installed
3. Verify if any errors are encountered during the execution of each command
After executing the above commands, verify the errors given (if exist) and resolve them from your environment perspective.
4. Re-run Sisense installation
Once all errors are resolved from an environmental perspective attempt re-running of the Sisense installation.
In case errors/failures are still observed, contact the Sisense Support Team.
Related Content:
Docs: https://docs.sisense.com/main/SisenseLinux/installing-sisense-on-linux.htm
Academy: https://academy.sisense.com/linux-essentials-for-ms