Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » scratchattach - A Scratch API wrapper (Python)
- Sasha--seals
-
31 posts
scratchattach - A Scratch API wrapper (Python)
where did you write the “import scratchattach as sa”? import scratchattach as sa
returns as:
ERROR: unknown command “import”
- ababoin07
-
500+ posts
scratchattach - A Scratch API wrapper (Python)
It’s a real problem ?! import scratchattach as sa
returns as:
ERROR: unknown command “import”
- kRxZy_kRxZy
-
1000+ posts
scratchattach - A Scratch API wrapper (Python)
Are you sure you ran this in python??It’s a real problem ?! import scratchattach as sa
returns as:
ERROR: unknown command “import”
- AlexDF16
-
26 posts
scratchattach - A Scratch API wrapper (Python)
Guess notAre you sure you ran this in python??It’s a real problem ?! import scratchattach as sa
returns as:
ERROR: unknown command “import”
define python
say [python]
- -ExoByte-
-
100+ posts
scratchattach - A Scratch API wrapper (Python)
“pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
- redspacecat
-
500+ posts
scratchattach - A Scratch API wrapper (Python)
What error is it giving? “pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
- -ExoByte-
-
100+ posts
scratchattach - A Scratch API wrapper (Python)
'pip' is not recognized as an internal or external command,What error is it giving? “pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
operable program or batch file.
- redspacecat
-
500+ posts
scratchattach - A Scratch API wrapper (Python)
Try'pip' is not recognized as an internal or external command,What error is it giving? “pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
operable program or batch file.
python -m pip install scratchattach
Last edited by redspacecat (Jan. 19, 2025 06:04:08)
- _c1919
-
37 posts
scratchattach - A Scratch API wrapper (Python)
I think so, he likely ran it in something like win11 powershell or Linux terminalGuess notAre you sure you ran this in python??It’s a real problem ?! import scratchattach as sa
returns as:
ERROR: unknown command “import”define pythonsay [python]
- ababoin07
-
500+ posts
scratchattach - A Scratch API wrapper (Python)
You have to “add python to path” when ypu install python, that’s why it doesn’t recognize the command “pip”'pip' is not recognized as an internal or external command,What error is it giving? “pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
operable program or batch file.
Last edited by ababoin07 (Jan. 19, 2025 08:20:08)
- -ExoByte-
-
100+ posts
scratchattach - A Scratch API wrapper (Python)
That's what I'm confused about. Usually, when I re-install Python, there's a little button that I always press that also adds Python to the path automatically. I did that twice and it still won't budge.You have to “add python to path” when ypu install python, that’s why it doesn’t recognize the command “pip”'pip' is not recognized as an internal or external command,What error is it giving? “pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
operable program or batch file.
- uukelele
-
12 posts
scratchattach - A Scratch API wrapper (Python)
That's what I'm confused about. Usually, when I re-install Python, there's a little button that I always press that also adds Python to the path automatically. I did that twice and it still won't budge.You have to “add python to path” when ypu install python, that’s why it doesn’t recognize the command “pip”'pip' is not recognized as an internal or external command,What error is it giving? “pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
operable program or batch file.
Find IDLE from Start Menu.
>>> import sys
>>> sys.executable
Add that to path, you can also do
{executable} -m pip install scratchattach
from CMD
- AlexDF16
-
26 posts
scratchattach - A Scratch API wrapper (Python)
#200InternetsTry'pip' is not recognized as an internal or external command,What error is it giving? “pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
operable program or batch file.insteadpython -m pip install scratchattach
- _c1919
-
37 posts
scratchattach - A Scratch API wrapper (Python)
I think you didn't install pip since it was probably not bundled with the installation. Python is a common issue scratchattach beginners have.That's what I'm confused about. Usually, when I re-install Python, there's a little button that I always press that also adds Python to the path automatically. I did that twice and it still won't budge.You have to “add python to path” when ypu install python, that’s why it doesn’t recognize the command “pip”'pip' is not recognized as an internal or external command,What error is it giving? “pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
operable program or batch file.
- -ExoByte-
-
100+ posts
scratchattach - A Scratch API wrapper (Python)
After a stupidly long time, it installed perfectly. Thanks guys! “pip install scratchattach” isn't working, yet I tried everything. Even re-installing Python didn't work.
- wvzack
-
500+ posts
scratchattach - A Scratch API wrapper (Python)
This is just a help message for those who are having trouble installing scratchattach and get the error somewhat like unknown command pip: try searching your disk for “pip” after a bit you (if you installed pip) will see something like pipxxx.exe eg. For me it's pip311.exe, after run pip311 (or whatever it is) install -u scratchattach
- MonkeyBean2
-
100+ posts
scratchattach - A Scratch API wrapper (Python)
you can make a cloud events thing and then log all the decoded packets using the catchall handler thing, whatever it's called (read the docs).What do you mean by decode? How to decode scratchattach activity?
- ababoin07
-
500+ posts
scratchattach - A Scratch API wrapper (Python)
Anyway, as far as I know, the cloud variables aren't working, so…
- Sasha--seals
-
31 posts
scratchattach - A Scratch API wrapper (Python)
… so use turbowarp Anyway, as far as I know, the cloud variables aren't working, so…
- Discussion Forums
- » Advanced Topics
-
» scratchattach - A Scratch API wrapper (Python)