This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
AttributeError: module 'asyncio' has no attribute 'async' #319
Comments
Hi @delleceste. By the way, the recommended usage is now to |
Hi @delleceste As Anton mentioned it, you are not running a pytango version compatible with python3.7. In python3.7 |
Thanks so much!
I will check it out!
I just git cloned the repo, maybe I should have payed more attention to the
existing branches.
Kind regards
Giacomo
El jue., 5 dic. 2019 a las 17:08, Antoine Dupré (<notifications@github.com>)
escribió:
… Hi @delleceste <https://github.com/delleceste>
As Anton mentioned it, you are not running a pytango version compatible
with python3.7.
In python3.7 async and await are protected keyword, it is no longer
possible to use them as user variable/method/attribute/... name. This as
been fixed in PR #205 <#205>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#319?email_source=notifications&email_token=AAJED3Z5OBJ5GJ7RGF3PFLTQXEROFA5CNFSM4JUV3KO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGBHCQI#issuecomment-562196801>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJED34LBSUZRPXDYKLZASDQXEROFANCNFSM4JUV3KOQ>
.
--
Giacomo S.
http://www.giacomos.it
Sincrotrone Trieste S.C.p.A. di interesse nazionale
Strada Statale 14 - km 163,5 in AREA Science Park
34149 Basovizza, Trieste ITALY
-
040 3758073
328 3237959
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello.
Cloned and built PyTango
Python version 3.7
ensure_future = getattr(asyncio, 'ensure_future', getattr(asyncio, 'async'))
I get this
giacomo@woody~ $ python
Python 3.7.5 (default, Nov 15 2019, 13:43:34)
[GCC 9.2.1 20191115 gcc-9-branch@278291] on linux
Type "help", "copyright", "credits" or "license" for more information.
Thanks, Giacomo.
The text was updated successfully, but these errors were encountered: