Как решить проблему с Taichi?

писал туннельный ефект и возникла такая ошибка:
<b>ОШИБКА</b>
Traceback (most recent call last):
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1347, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1040, in _send_output
    self.send(msg)
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 980, in send
    self.connect()
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 946, in connect
    self.sock = self._create_connection(
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\socket.py", line 844, in create_connection
    raise err
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\socket.py", line 832, in create_connection
    sock.connect(sa)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Artem\Desktop\програмирование\python\9\1.py", line 7, in <module>
    ti.init(arch=ti.cuda)
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\site-packages\taichi\lang\__init__.py", line 540, in init
    if check_version():
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\site-packages\taichi\lang\__init__.py", line 479, in check_version
    with request.urlopen(req, data=payload, timeout=1.5) as response:
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 517, in open
    response = self._open(req, data)
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 534, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 494, in _call_chain
    result = func(*args)
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1376, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "C:\Users\Artem\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1350, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
  • Вопрос задан
  • 90 просмотров
Пригласить эксперта
Ответы на вопрос 1
@ab1
Не в тот топик ответил, извините)там спрашивали зачем камеру закрывать
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы