@EverythingScience · Post #5077 · 06.01.2026 г., 15:10
🔵 Astronomers using the NASA/ESA/CSA #Webb Space Telescope have found a new moon orbiting Uranus! 🔗esa.int/ESA_Multimedia… Source: @esa @EverythingScience
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #210 · 3 фев.
Что делать если нужно поставить какую-то Python-библиотеку а root-прав нет? То есть в систему библиотеку никак и ничего не поставить. Есть как минимум два способа это решить правильно! 🔸 Сделать виртуальное окружение и ставить там что угодно. Это позволит создать полностью независимое исполняемое окружение для ваших приложений. Все библиотеки будут храниться в домашней директории юзера а значит доступ на запись имеется. Создать очень просто: python3 -m venv ~/venvs/myenvname Теперь активируем окружение # Linux source ~/venvs/myenvname/bin/activate # Windows %userprofile%\venvs\myenvname\Scripts\activate.bat Можно ставить любые библиотеки и запускать приложение. Это стандартный метод работы с любым проектом. Если еще не используете его, то пора начинать. Даже при наличии root доступа! 🔸 Бывает, что нет возможности запустить приложение из своего виртуального окружения. Например, его запускает какой-то сервис от вашего юзера и вставить активацию окружения вы не можете. В этом случае можно установить библиотеки для Python не глобально в систему, а только для юзера. Выполните этот код в консоли: python3 -m site Вы получите что-то такое: sys.path = [ '/home/user', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/user/.local/lib/python3.7/site-packages', ... ] USER_BASE: '/home/user/.local' USER_SITE: '/home/user/.local/lib/python3.7/site-packages' ENABLE_USER_SITE: True Нас интересует параметр USER_SITE. Это путь к пользовательским библиотекам, которые доступны по умолчанию, если они есть. Именно сюда будут устанавливаться модули если добавить флаг --user при установке чего-либо через pip pip install --user requests Для этой команды не нужны root-права. После неё можно запускать системный интерпретатор без виртуальных окружений и установленная библиотека будет доступна для текущего юзера. Параметр USER_BASE показывает корневую директорию для хранения user-библиотек. Её можно изменить с помощью переменной окружения PYTHONUSERBASE export PYTHONUSERBASE=~/pylibs python3 -m site ... USER_BASE: '/home/user/pylibs' USER_SITE: '/home/user/pylibs/lib/python3.7/site-packages' Получается некоторое подобие виртуального окружения для бедных 😁 которое можно менять через эту переменную (не делайте так!Лучше venv!) 🔸 Дописывание пути в PYTHONPATH Этот способ не входит в список "двух правильных", но тоже рабочий. Здесь придётся сделать всё несколько сложней. Сначала ставим библиотеку в любое место указывая путь установки pip3 install -t ~/mylibs modulename Библиотека установится без привязки к какому-либо интерпретатору. То есть по умолчанию не будет видна. Теперь в нужный момент добавляем этот путь в sys.path или в PYTHONPATH. Не буду советовать так делать. Единственный раз когда этот способ мне пригодился и решил поставленную задачу, это при создании общей библиотеки для кластера компьютеров. Модули лежат в сети и подгружаются для всех из одного и того же места. То есть обновлять файлы требуется только один раз а не на всех хосты отдельно. Минусы такого подхода: ▫️Нужно всем хостам пробить нужный путь в .bashrc или ещё куда-то чтобы он сетапился на старте. ▫️Чем больше хостов тем больше нагрузка на сеть. Иногда такой способ не подходит именно по этой причине. Тогда Ansible вам в помощь. ▫️Не очень подходит если хосты с разными операционками. Некоторые библиотеки различаются для Linux и Windows (там, где есть бинарники) и приходится мудрить более сложные схемы. #tricks#basic
Пребарај: #webb
@EverythingScience · Post #5077 · 06.01.2026 г., 15:10
🔵 Astronomers using the NASA/ESA/CSA #Webb Space Telescope have found a new moon orbiting Uranus! 🔗esa.int/ESA_Multimedia… Source: @esa @EverythingScience
Hashtags
@cosmomyst · Post #579 · 25.12.2025 г., 12:21
🪐 In July 2022, astronomers using the James Webb Space Telescope identified the galaxy GLASS-z12, one of the most distant objects ever observed, whose light began traveling toward us just 350 million years after the Big Bang. Detecting GLASS-z12 means we are seeing the universe as it was shortly after its birth, providing a rare window into the dawn of cosmic history when the first galaxies were forming. ✨ #galaxies⚡#webb⚡#cosmos⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #591 · 30.12.2025 г., 22:21
🪐 The James Webb Space Telescope has revealed distant galaxies like MACS1149-JD1 forming stars much earlier than expected, showing that galaxy building blocks were already in place just 500 million years after the Big Bang. By capturing infrared light, Webb can see through cosmic dust and uncover the birth of some of the universe’s first stars, helping scientists understand how the cosmos evolved from darkness to a landscape filled with galaxies. ✨ #Webb⚡#galaxies⚡#infrared⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #433 · 16.10.2025 г., 18:21
🪐 The James Webb Space Telescope has detected the earliest-known galaxy cluster, named "El Gordo," not as it appears today but as it looked over 10 billion years ago, still forming in the young universe. Webb’s powerful infrared vision allowed astronomers to spot dozens of galaxies caught in the act of merging, giving us a rare glimpse into how the first massive clusters assembled from smaller groups billions of years before our Milky Way even existed. ✨ #galaxies⚡#clusters⚡#webb⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #204 · 01.09.2025 г., 03:11
🪐 The James Webb Space Telescope stunned astronomers by capturing images of the faintest, most distant galaxies ever seen—like GLASS-z13, which formed when the universe was only about 300 million years old. Webb’s infrared eyes pierce cosmic dust, making it possible to observe galaxies and stars that existed just after the Big Bang, revealing clues about how the first stars and galaxies came to life. ✨ #webb⚡#galaxies⚡#infrared⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries
@cosmomyst · Post #324 · 24.09.2025 г., 20:21
🪐 The James Webb Space Telescope has spotted the earliest known supermassive black holes in galaxies that formed less than a billion years after the Big Bang, such as in the galaxy GN-z11. These giant black holes are much more massive than scientists expected for such young galaxies, forcing astronomers to rethink how quickly these cosmic monsters can grow in the very early universe. ✨ #blackholes⚡#webb⚡#earlyuniverse⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #519 · 25.11.2025 г., 12:21
🪐 The James Webb Space Telescope has discovered water vapor in the atmosphere of the exoplanet GJ 9827d, located about 97 light-years away in the constellation Pisces. This marks the first strong evidence of water on a planet smaller than Neptune outside our solar system, showing that even relatively small worlds can have atmospheres rich in life’s key ingredients. ✨ #exoplanets⚡#discoveries⚡#webb⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #412 · 12.10.2025 г., 15:21
🪐 The James Webb Space Telescope has discovered that the exoplanet TRAPPIST-1b, one of seven planets orbiting the star TRAPPIST-1 about 41 light-years away, has no detectable atmosphere. Webb’s sensitive instruments showed that the planet’s dayside is hotter than expected if it had an atmospheric blanket, suggesting its surface is bare rock—shaping new ideas about the harsh conditions on close-orbiting worlds around small stars. ✨ #exoplanets⚡#trappist1⚡#webb⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #395 · 08.10.2025 г., 22:21
🪐 The James Webb Space Telescope has revealed that the star-forming galaxy JWST-UNCOVER-z13, seen as it was just 330 million years after the Big Bang, contains surprising traces of oxygen. Detecting this element so early suggests that the first generations of massive stars lived brief, violent lives—creating and spreading elements vital for the formation of later stars, planets, and possibly life itself. ✨ #galaxies⚡#cosmicmysteries⚡#webb⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #362 · 02.10.2025 г., 15:21
🪐 The James Webb Space Telescope has revealed that the galaxy GS-9209, located over 12 billion light-years away, experienced a massive burst of star formation before suddenly becoming dormant just 800 million years after the Big Bang. This galaxy’s abrupt transition from a stellar nursery to a cosmic "ghost town" challenges ideas about how quickly galaxies could form and shut down in the early universe. ✨ #galaxies⚡#webb⚡#telescope⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@cosmomyst · Post #459 · 26.10.2025 г., 22:21
🪐 The James Webb Space Telescope has detected carbon dioxide on the exoplanet HD 189733b, a giant world 64 light-years away in the constellation Vulpecula. This is the first time carbon dioxide—a common gas on Earth—has been firmly identified in the atmosphere of an exoplanet, using Webb’s powerful infrared instruments to reveal details about the planet’s chemistry and hint at how its formation differs from giant planets in our own solar system. ✨ #webb⚡#exoplanet⚡#atmospheres⚡#discoveries⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels