Difference between revisions of "Pm4py: install"

From OnnoWiki
Jump to navigation Jump to search
 
Line 19: Line 19:
 
  sudo apt install build-essential python3-dev python3-pip python3-virtualenv
 
  sudo apt install build-essential python3-dev python3-pip python3-virtualenv
 
  sudo apt -y install python3-pip
 
  sudo apt -y install python3-pip
 
+
 
 
 
  mkdir ~/processmining
 
  mkdir ~/processmining
 
  cd ~/processmining
 
  cd ~/processmining
 
  virtualenv --python=python3 venv
 
  virtualenv --python=python3 venv
 
  source venv/bin/activate
 
  source venv/bin/activate
 
+
 
  pip install pm4py
 
  pip install pm4py
  

Latest revision as of 09:35, 10 November 2024

Ubuntu 24.04

sudo apt update
sudo apt -y install libxrandr2 libxrandr2 \
libxss1 libxcursor1 libxcomposite1 libxi6 libxtst6 graphviz \
python3-tk libblas-dev liblapack-dev libsuitesparse-dev gcc g++ 

Ubuntu 22.04

sudo apt update
sudo apt -y install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 \
libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 graphviz \
python3-tk libblas-dev liblapack-dev libsuitesparse-dev gcc g++ 


Menggunakan pip

sudo apt update
sudo apt install build-essential python3-dev python3-pip python3-virtualenv
sudo apt -y install python3-pip

mkdir ~/processmining
cd ~/processmining
virtualenv --python=python3 venv
source venv/bin/activate

pip install pm4py

Menggunakan Anaconda

Sebagai user biasa, bukan root lakukan


wget -P /tmp https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
bash /tmp/Anaconda3-2023.09-0-Linux-x86_64.sh
source ~/.bashrc
~/anaconda3/bin/conda config --set auto_activate_base false
~/anaconda3/bin/conda update --all
sudo apt -y install python3-pip
pip install pm4py
PATH="$PATH:/home/onno/.local/bin"

Pranala Menarik