Comments (5)
Thanks for your help! I've figured out the problem and run it on my Nano successfully.
Below are the problems I came across and their solutions. Maybe it can help others.
can't find s3a command in cmd
I use python -m pip install xxx --user
to install python package, but maybe it will cause some problems.
https://stackoverflow.com/questions/58386953/pip3-typeerror-module-object-is-not-callable-after-update
So I use pip install s3-extend
under administrator mode and it works for me.
I think it's because --user
will install the python package in a different folder like C:\Users\XXX\AppData\Roaming\Python\Python37\Scripts
Without --user
and run in administrator mode:
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64
subprocess.py error
Traceback (most recent call last):
File "c:/Users/Jason/Documents/GitHub/s3-extend/s3_extend/s3a.py", line 251, in <module>
s3ax()
File "c:/Users/Jason/Documents/GitHub/s3-extend/s3_extend/s3a.py", line 242, in s3ax
S3A(com_port=com_port, arduino_instance_id=args.arduino_instance_id)
File "c:/Users/Jason/Documents/GitHub/s3-extend/s3_extend/s3a.py", line 57, in __init__
self.proc_bp = self.start_backplane()
File "c:/Users/Jason/Documents/GitHub/s3-extend/s3_extend/s3a.py", line 174, in start_backplane
subprocess.CREATE_NO_WINDOW)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2]
https://blog.csdn.net/u014094184/article/details/80085336
modify subprocess.py
_init__:
shell=False to shell=True
I don't know the reason.
my environment
Windows10
Again, Thanks for your devotion! I will help you complete this good project.
from s3onegpio.
The Uno is the only officially supported board, but I am willing to look at your issue. Please follow these troubleshooting instructions and let me know if there are any exceptions reported on any window and what you see on the ardgw window.
from s3onegpio.
Also, did you load FirmataExpress on the Nano?
from s3onegpio.
I have load FirmataExpress on Nano.
Actually, I don't know how to start s3-extend on my computer. I download your code and run s3a.py. Is it the correct way to start python server?
Traceback (most recent call last):
File "c:/Users/Jason/Documents/GitHub/s3-extend/s3_extend/s3a.py", line 251, in <module>
s3ax()
File "c:/Users/Jason/Documents/GitHub/s3-extend/s3_extend/s3a.py", line 242, in s3ax
S3A(com_port=com_port, arduino_instance_id=args.arduino_instance_id)
File "c:/Users/Jason/Documents/GitHub/s3-extend/s3_extend/s3a.py", line 57, in __init__
self.proc_bp = self.start_backplane()
File "c:/Users/Jason/Documents/GitHub/s3-extend/s3_extend/s3a.py", line 174, in start_backplane
subprocess.CREATE_NO_WINDOW)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
Following your tutorial, I open cmd on Win10 , enter the command s3a and it says that it isn't a program or command. Should I add s3-extend file to my system path?
Step 3: Start the OneGPIO server code by opening a terminal window for each microcontroller you wish to use and then enter the command for the specific micro-controller:
s3a - for the Arduino
s3c - for the Adafruit Circuit Playground Express
s3e - for the ESP-8266
s3p - for the Picoboard
s3r - for the Raspberry Pi
Thanks for your help, your project is great when I'm looking for a scratch+arduino platform.
from s3onegpio.
You should not need to change your system path. To make sure that Python was installed on the path,
open a command window and type:
python
If you see a banner that shows python 3 is running you can close Python and should be able to do the following:
- In a command window type:
pip install s3-extend
This will install s3-extend and all of the packages it uses. It will also install s3a as an executable. So to start the extension for Arduino, in a command window enter:
s3a
Please let me know if you are still having an issue, and if not, please close this issue.
from s3onegpio.
Related Issues (20)
- Firefox not able to open project and do not remember installed extensions. HOT 8
- s3rp crash on latest Win10/ Google Chrome when using read digital pin HOT 4
- Translation for Dutch (NL) HOT 6
- Translation for Japanese (robohat) HOT 1
- Translation for Japanese (playground_express) HOT 1
- Thanks for adoption of translation for Japanese HOT 2
- A simple installation procedure for Windows 10 HOT 1
- Initializing functions is lacking for pigpiod HOT 6
- Websocket Gateway exited... without pressing ctl+c HOT 6
- How do I create a Blcok program that can be uploaded to Arduino permanently ? HOT 1
- Translation for German (de) HOT 2
- How to read digital input from sensor HOT 6
- The current version of S3OneGPIO fails to compile by "yarn start". HOT 3
- Re: Thanks for adoption of translation for Japanese #43 HOT 2
- Connection to ESP8266 seems to be unreliable HOT 3
- a Japanese translation for the extension "OneGpio Raspberry Pi Pico". HOT 1
- Request to host these extensions in my own Scratch 3 fork HOT 2
- DC motor PWM control backwards HOT 3
- Install s3onegpio extension in fresh Scratch does not work HOT 7
- Does arduino work standalone? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3onegpio.