uv init t1:uv init t2 --python 3.12:uv add -r req.txt с первым вариантом инициализации: uv add -r req.txt с инициализацией с указанием нужной версии:а разве ставить пакеты СТРОГО через uv add - это норма?
чтобы поставить Torch надо сначала
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
const char* ssid = "YOUR_WIFI";
const char* password = "YOUR_PASS";
const char* host = "api.telegram.org";
const int httpsPort = 443;
const char* botToken = "BOT_TOKEN";
const char* chatId = "CHAT_ID";
void setup() {
Serial.begin(115200);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
}
WiFiClientSecure client;
client.setInsecure(); // отключаем проверку сертификата
if (!client.connect(host, httpsPort)) {
return;
}
String body =
String("{\"chat_id\":\"") + chatId +
String("\",\"text\":\"hello from esp8266\"}");
String url = String("/bot") + botToken + "/sendMessage";
client.print(
String("POST ") + url + " HTTP/1.1\r\n" +
"Host: " + host + "\r\n" +
"Content-Type: application/json\r\n" +
"Connection: close\r\n" +
"Content-Length: " + body.length() + "\r\n\r\n" +
body
);
}
void loop() {}If you are using Julia behind a firewall that blocks access to these, you may have trouble downloading and installing Julia packages. If this is the case, please ask your sysadmin to add these domains to the firewall allow list. Traffic can be limited to HTTPS (TCP port 443).
Ну или css переименовать без подчёркивания.