Difference between revisions of "Pm4py: install"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Ubuntu 24.04 | ||
− | + | sudo apt update | |
− | g++ | + | 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 \ | sudo apt -y install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 \ | ||
libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 graphviz \ | libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 graphviz \ | ||
− | python3-tk libblas-dev liblapack-dev libsuitesparse-dev | + | 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 | wget -P /tmp https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh | ||
Line 12: | Line 37: | ||
bash /tmp/Anaconda3-2023.09-0-Linux-x86_64.sh | bash /tmp/Anaconda3-2023.09-0-Linux-x86_64.sh | ||
source ~/.bashrc | 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 | pip install pm4py | ||
+ | |||
+ | PATH="$PATH:/home/onno/.local/bin" | ||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[Process Mining]] |
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"