-
-
Save UbuntuEvangelist/c75f664345a0c23cbf5a7588837ba305 to your computer and use it in GitHub Desktop.
| Install python and pip: | |
| apt install snapd | |
| snap install python38 --classic | |
| apt install python3-pip | |
| nano ~/.bashrc | |
| # Add into the bottom | |
| alias python=python3 | |
| alias pip=pip3 | |
| # Save & Exit ctrl+s and ctrl+x | |
| alias python=python3 | |
| alias pip=pip3 | |
| source ~/.bashrc | |
| sudo apt update | |
| sudo apt upgrade -y | |
| python --version | |
| pip --version | |
| Install the required dependencies: | |
| sudo apt install python3 python3-pip python3-serial python3-wxgtk4.0 git | |
| Clone the Printrun repository from GitHub to get the latest version: | |
| git clone https://github.com/kliment/Printrun.git | |
| cd Printrun | |
| pip3 install -r requirements.txt | |
| python3 pronterface.py | |
| This should start the Pronterface GUI, and you should be able to connect to your 3D printer and start using it. If you encounter any issues, please let me know! | |
I also run into a problem on line 25. I've managed to setup and enter a virtual envormont with
python -m venv venv source venv/bin/activebut now line 25
pip install -r requirements.txtcomplains about something else: `dbus-gmain| Run-time dependency dbus-1 found: NO (tried pkgconfig and cmake)../subprojects/dbus-gmain/meson.build:107:11: ERROR: Dependency "dbus-1" not found, tried pkgconfig and cmake`
any suggestions?
Lego, you need to install the libdbus-1 package. I ran the following line to install the dependencies:
sudo apt install libdbus-1-dev pkg-config build-essential
I then had another error with GTK+3 missing, which prompted me to install it with:
sudo apt install libgtk-3-dev
and then I could successfully run line 25.
toujours rien compris je crois que je vais reinstaller Windows vue les explication abracadabrantej'ai jamais vue ca?
i dont know but not working
dominik@Dominik:~/Printrun$ python3 pronterface.py
Traceback (most recent call last):
File "/home/dominik/Printrun/pronterface.py", line 30, in
from printrun.pronterface import PronterApp
File "/home/dominik/Printrun/printrun/pronterface.py", line 32, in
from . import pronsole
File "/home/dominik/Printrun/printrun/pronsole.py", line 33, in
import platformdirs
ModuleNotFoundError: No module named 'platformdirs'
I also run into a problem on line 25.
I've managed to setup and enter a virtual envormont with
python -m venv venv source venv/bin/activebut now line 25
pip install -r requirements.txtcomplains about something else:
`dbus-gmain| Run-time dependency dbus-1 found: NO (tried pkgconfig and cmake)
`
any suggestions?