@Isaiahsystem · Post #1414 · 18.01.2026 г., 13:17
https://x.com/thedankoe/status/2010751592346030461 1.25 亿阅读量...X 最近在推一个百万美元文章活动,将在下一轮收益分成给表现最好的一篇长文发放 100 万美元。一鲸起,万物生成(Generated)。#ship
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
Пребарај: #ship
@Isaiahsystem · Post #1414 · 18.01.2026 г., 13:17
https://x.com/thedankoe/status/2010751592346030461 1.25 亿阅读量...X 最近在推一个百万美元文章活动,将在下一轮收益分成给表现最好的一篇长文发放 100 万美元。一鲸起,万物生成(Generated)。#ship
Hashtags
@interesting_planet_facts · Post #657 · 30.08.2025 г., 16:22
🌎 In 1872, the Mary Celeste was found adrift in the Atlantic Ocean—its crew vanished without a trace, leaving food, cargo, and the ship untouched. This unsolved maritime mystery has puzzled historians ever since. ✨ #disappearance⚡#ship⚡#mystery 👉subscribe Interesting Planet
Hashtags
@Beautiful_wallpaper · Post #3745 · 13.07.2025 г., 17:30
#Sea#Ship#Texture
@wal_pep · Post #813 · 26.12.2025 г., 14:00
#Icebreaker #ship #4k
Hashtags
@Wallpaper_INT · Post #47762 · 21.02.2026 г., 18:30
#Ocean#Ship#Boat#Night#8K @Wallpaper_INT
@wildthemestelegram · Post #1081 · 04.02.2024 г., 10:00
Sunset #pink #blue #black #sunset #sea #ship #art ᅠ𝐖𝐢𝐥𝐝 𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 𝐓𝐡𝐞𝐦𝐞𝐬 ᅠ═──═⌘═──═ᅠ
@TFGames · Post #1953 · 19.01.2024 г., 05:20
#SHIP#CAP'N #CREW#GAMES https://testflight.apple.com/join/KTEswE8W
@wildthemestelegram · Post #1541 · 10.06.2024 г., 11:53
Ghost Ship #black #gray #blue #fog #sea #ship #dark #night #art ᅠ𝐖𝐢𝐥𝐝 𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 𝐓𝐡𝐞𝐦𝐞𝐬 ᅠ═──═⌘═──═ᅠ
@AloneSnowflake · Post #377 · 04.05.2024 г., 21:31
⊹ 𝐀pply 𝐓heme ˓ 💚 ˒ ༄ 𝐉oin 𝐂hannel ˙˚• #Ship#Moon#Dark#Turquoise#Green#Theme
@AloneSnowflake · Post #598 · 17.10.2025 г., 21:31
𝐇ome & 𝐋ockScreen ˓ 🛳 ˒ ༅ 𝐉oin 𝐂hannel ⋅•⋅ #LiveWallpaper#Ship#Sea#Moon
Hashtags
@american_observer · Post #5664 · 20.04.2026 г., 13:59
The US Has Attacked An Iranian-Flagged Container Ship. A New Stage of the War? ⚠️🌍 The US military has attacked and seized an Iranian-flagged container ship that attempted to get past an American blockade near the strait of Hormuz, the first such interception since the blockade of Iranian ports began last week. 🚢 Iran’s joint military command said Tehran would respond soon and called the US seizure an act of piracy that violated the ceasefire that has been in place since 8 April. The news threw into question Trump’s earlier announcement that US negotiators would head to Pakistan on Monday for another round of talks with Iran. That had raised hopes of extending a fragile ceasefire set to expire by Wednesday, but Iran has not confirmed it will attend. In a post on X, US Central Command said US marines departed the USS Tripoli assault ship by helicopter and rappelled on to Touska on Sunday. The post included a video of the marines onboard the helicopter. Trump had earlier posted on X that the ship had tried to get past the US blockade “and it did not go well for them”. The US president said a US navy guided missile destroyer warned the Touska to stop in the Gulf of Oman but the vessel did not. “[Our] Navy ship stopped them right in their tracks by blowing a hole in the engine room,” Trump said, adding that US marines now had custody of the vessel. 💥 He said the ship was under US treasury sanctions because of “prior history of illegal activity”. The ship is on the treasury department’s list of sanctioned vessels. A spokesperson for Iran military’s central command centre, Khatam al-Anbiya, cited by the Isna news agency, said: “We warn that the armed forces of the Islamic Republic of Iran will soon respond and retaliate against this armed piracy and the US military.” Iranian state media also reported that Tehran had – for now – rejected new peace talks, citing the ongoing blockade, threatening rhetoric, and Washington’s shifting positions and “excessive demands”. Video posted on social media by the US defence department showed the interception of the ship by US forces. “Vacate your engine room,” a US sailor can be heard saying. “We’re prepared to subject you to disabling fire.” The cargo ship was stopped near Iran’s border with Pakistan. Touska had previously left Port Klang, a major port in Malaysia, when the vessel then attempted to move past the US blockade, according to tracking information from TankerTrackers.com. The escalating standoff threatens to deepen the energy crisis roiling the global economy and push the two countries toward renewed fighting, in a conflict that has killed at least 3,000 people in Iran, nearly 2,300 in Lebanon, 23 civilians and 15 soldiers in Israel, and more than a dozen in Gulf Arab states. Thirteen US service members have also been killed. 📉 #us#iranian#container#ship#war 📱American Оbserver - Stay up to date on all important events 🇺🇸
Hashtags
@Wallpaper_Prime · Post #24516 · 03.02.2026 г., 19:40
#корабль#парусник#ship#sailboat ⭐️ «Wallpaper Prime» ⭐️