Bonjour
J’ai un script des plus simple :
import asyncio
qui ne donne cette erreur :
Traceback (most recent call last):
File "bot.py", line 1, in <module>
import asyncio
File "/usr/lib/python3.7/asyncio/__init__.py", line 8, in <module>
from .base_events import *
File "/usr/lib/python3.7/asyncio/base_events.py", line 23, in <module>
import socket
File "/home/pi/bot/socket.py", line 1, in <module>
from aiohttp import web
File "/usr/lib/python3/dist-packages/aiohttp/__init__.py", line 6, in <module>
from .client import * # noqa
File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 19, in <module>
from . import client_exceptions, client_reqrep
File "/usr/lib/python3/dist-packages/aiohttp/client_exceptions.py", line 175, in <module>
class ServerTimeoutError(ServerConnectionError, asyncio.TimeoutError):
AttributeError: module 'asyncio' has no attribute 'TimeoutError'
Qu’est-ce qui pourrai générer cette erreur ?
edit : Pb résolu, nommage de ficher en cause…
+0
-0