-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python 2.7 or later is asking for me to encode #5
Comments
Hello @vprithiviraj , can you tell me on which file is this error? Unfortunately I don't have any windows machine around and I cannot debug this. |
Ok, it looks that there is a system exception somewhere and the error message is not on english. I guess you are using a non-english windows system? For a quick solution, I would say to open
let me know if this helps |
python 2.7.11 is recommended only know? I have to install that package first dude.. |
Yes, I could spend some time to make this code compatible with python 3.x there is not much work needed. Thanks for reporting this 👍 |
It looks you are missing the
Ps. Check this section on the readme: https://github.com/wavesoft/CCLib#2-prepare-your-software |
i have installed the pyserial using the above mentioned command before only. but still that error is coming. i downloaded separate pyserial as exe format and installed after that also same error. |
It sounds like |
NO.. it is not happening now also dude. same error of last screenshot i shared you it is telling only about the module named as serial is not available. so will i be able to clear the output by adding the python script in the folder where i copied all these cc debugging python scripts. is there any particular location i should keep all the cc debugging python scripts for make the serial to get detected?? i tried with cygwin terminal also after doing all this for observing error it is giving like that. so there i found different like in the screenshot i attached above |
can you respond for this when you are free? |
Hey @vprithiviraj , it seems that something is going wrong with your python installation. From a quick google search I found this, which I am not sure it's helpful : http://stackoverflow.com/questions/18946286/python3-installed-successfully-but-cannot-be-opened-in-terminal So, one thing to check is that your One last thing that you could try is to use
|
today i cleared all my python errors araised. but not it is telling could not read from the serial port. So what can be possibilities for this?? |
A few things:
Also, can you paste a screenshot with the error. I want to see if this is an exception or an error with your set-up. |
Hi Mr.wavesoft, Can you look into my problem? is there any possibility problem with the arduino sketch i dumped in Arduino Uno. Please let me know if you found any solution for this. Thanks in advance. |
Hello @vprithiviraj . From both of these errors it looks that there is something wrong with the communication between your PC and your Arduino. Unfortunately I haven't tested this code on windows and I am not 100% sure that this is not purely a library issue. What I see is the following:
Just to confirm, you have flashed the |
Hey @vprithiviraj , did you have any success eventually? I will get access to a windows computer soon, so I can properly debug this on windows tool. Otherwise, I will close this issue. |
no I have not got any success. COM port error only use to come for me always i bought the module from |
when i'm trying to get the chip information by using cc_info.py through cygwin or command prompt terminal. it is telling that
unicode strings are not supported, please encode to bytes: '▒\x00\x00\x00
It is telling encode to bytes. Not able to identify what is the error happened only i'm new to the python language help me in some way.
The text was updated successfully, but these errors were encountered: