Coder Social home page Coder Social logo

Error message when execute about pymata-aio HOT 6 CLOSED

mryslab avatar mryslab commented on August 30, 2024
Error message when execute

from pymata-aio.

Comments (6)

MrYsLab avatar MrYsLab commented on August 30, 2024

For the latest version of pymata-aio, you need to run Python 3.5. The async/await syntax was introduced with that release. If you would still like to use Python 3.4.3, you can dowload the code from this branch https://github.com/MrYsLab/pymata-aio/tree/version_1.x.

I will close this issue. If you need any additional help on this issue please let me know. If you discover any other issues, please generate a new issue.

Thanks.

from pymata-aio.

euchcat avatar euchcat commented on August 30, 2024

Hello,
I'd like to understand how 'pymata-aio' (version 2.5) has made for running
an installation in my distribution Python 3.4 with no error message.
I work on a linux machine and have only launched 'sudo pip3 install
pymata-aio' in command line. I received no warning from 'pip' during
installation and during the launch examples from python 3.4. (except the
error message than i have send you yesterday)
how do i make for installing pymata version 1.xx with pip3?
(I have already uninstall pymata 2.1 with pip3)
thanx for your response and sincere greetings.
Lionel

2015-09-30 0:19 GMT+02:00 Alan Yorinks [email protected]:

For the latest version of pymata-aio, you need to run Python 3.5. The
async/await syntax was introduced with that release. If you would still
like to use Python 3.4.3, you can dowload the code from this branch
https://github.com/MrYsLab/pymata-aio/tree/version_1.x.

I will close this issue. If you need any additional help on this issue
please let me know. If you discover any other issues, please generate a new
issue.

Thanks.


Reply to this email directly or view it on GitHub
#24 (comment).

from pymata-aio.

MrYsLab avatar MrYsLab commented on August 30, 2024

@euchcat To load 1.9, type the following command:
pip3 install pymata_aio==1.9

Please let me know if you still are having problems.

from pymata-aio.

euchcat avatar euchcat commented on August 30, 2024

Hi Alan,
All is ok for the installation of pymata V1.x with PIP3.
I remark one thing when i execute the '3_sample.py' example:

pymata_aio Version 1.9 Copyright (c) 2015 Alan Yorinks All rights
reserved.
Using COM Port:/dev/ttyUSB0

Initializing Arduino - Please wait... Auto-discovery complete. Found 20
Digital Pins and 6 Analog Pins

Shutting down ...


(program exited with code: 1)
Press return to continue.

There is no problem with the code execution, why this message when program
exit? (after 'board.shutdown()')
Thanks for your help, it's just for understand how working pymata.
sincere greetings.

2015-10-01 0:19 GMT+02:00 Alan Yorinks [email protected]:

@euchcat https://github.com/euchcat To load 1.9, type the following
command:
pip3 install pymata_aio==1.9

Please let me know if you still are having problems.


Reply to this email directly or view it on GitHub
#24 (comment).

from pymata-aio.

MrYsLab avatar MrYsLab commented on August 30, 2024

@euchcat I am glad you got things working. Shutdown tries to stop all of the running asyncio tasks, but it is not always successful. So upon exiting your program, the event loop may throw an exception, which is what you are seeing. This should not cause any problems, except for the message you are seeing. Your program should be totally closed.

from pymata-aio.

euchcat avatar euchcat commented on August 30, 2024

yes i have seeing that this message was just like a warning. i try to
create some GUI for the examples that you have on github.
I join you a python file if you want test him with pymata 1.9, this code is
working on my linux machine. If not there is no problem.
sinceres greetings.
Lionel

2015-10-01 14:15 GMT+02:00 Alan Yorinks [email protected]:

@euchcat https://github.com/euchcat I am glad you got things working.
Shutdown tries to stop all of the running asyncio tasks, but it is not
always successful. So upon exiting your program, the event loop may throw
an exception, which is what you are seeing. This should not cause any
problems, except for the message you are seeing. Your program should be
totally closed.


Reply to this email directly or view it on GitHub
#24 (comment).

from pymata-aio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.