Created
July 4, 2024 13:44
-
-
Save UbuntuEvangelist/c75f664345a0c23cbf5a7588837ba305 to your computer and use it in GitHub Desktop.
Install Pronterface Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! | |
jai rien compris?
After line 24 setup a virtual environment with:
python -m venv venv
Enter the virtual environment with:
source venv\bin\activate
Then continue with line 25.
P.S. to leave/deactivate the virtual environment type:
deactivate
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/active
but now line 25
pip install -r requirements.txt
complains 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?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Charles,
I got the same error listed above after running
pip3 install -r requirements.txt -- Doesn't look like he going to respond or doesn't have an answer to fix.
This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.