You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use pip install scratchattach and then create a python file for example script.py. Navigate to its directory then run python3 script.py...I'm assuming you know basic terminal useage? Honestly though, I would reccomend you just go to https://github.com/TimMcCool/scratchattach/wiki/Hosting and get your code hosted for free on someone elses server designed for this
The best way to do it without messing with system packages is to make a python virtual environment for the script and install scratchattach from there by:
it's not like scratchattach is a system package or anything. and most people using scratchattach are coming to python for the first time, and I think it'd be easier for them to have the easiest simplest option available
scratchattach has dependencies like requests which have dependencies that might mix up with system dependencies, especially on a bloated system like PiOS
Activity
DagriffpatchfanHosting commentedon Apr 7, 2025
use pip install scratchattach and then create a python file for example script.py. Navigate to its directory then run python3 script.py...I'm assuming you know basic terminal useage? Honestly though, I would reccomend you just go to https://github.com/TimMcCool/scratchattach/wiki/Hosting and get your code hosted for free on someone elses server designed for this
mas6y6 commentedon Apr 10, 2025
If you are gonna use a Raspberry Pi for scratchattach you just need to install using pip
If you don't have Python installed install it using APT
I am currently on mobile so I cannot type proper code blocks
uukelele commentedon Apr 11, 2025
mas6y6 commentedon Apr 15, 2025
That could work too if you installed python using apt
zaid4412100 commentedon May 24, 2025
The best way to do it without messing with system packages is to make a python virtual environment for the script and install scratchattach from there by:
TheCommCraft commentedon May 24, 2025
LIZARD-OFFICIAL-77 commentedon May 24, 2025
install portainer on your pi and dockerize the app. I can help you with it on discord if you want.
uukelele commentedon May 24, 2025
that's way too much effort for a simple python library installation.
like I said,
should work out-of-the-box on raspberry pi OS.
TheCommCraft commentedon May 24, 2025
Why not just install it normally?
LIZARD-OFFICIAL-77 commentedon May 24, 2025
That violates PEP
LIZARD-OFFICIAL-77 commentedon May 24, 2025
At least just make a simple dockerfile it can't be that hard
uukelele commentedon May 24, 2025
it's not like scratchattach is a system package or anything. and most people using scratchattach are coming to python for the first time, and I think it'd be easier for them to have the easiest simplest option available
LIZARD-OFFICIAL-77 commentedon May 24, 2025
scratchattach has dependencies like requests which have dependencies that might mix up with system dependencies, especially on a bloated system like PiOS
LIZARD-OFFICIAL-77 commentedon May 24, 2025
Making a dockerfile is easy, just look it up on youtube if it is *that* hard
cybersteve547 commentedon Jul 6, 2025
bump i need help too
TheCommCraft commentedon Jul 6, 2025
or if that doesn't work
or if you want to be safe, use docker