@starvetbooks · Post #4103 · 29.06.2024 г., 09:50
https://youtu.be/TMRAZQxrOWM 👆👆Join the Youtube channel👆👆 🐓#POULTRY#BIOSECURITY🐓 👇👇👇 JOIN AND SUBSCRIBE
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
Пребарај: #biosecurity
@starvetbooks · Post #4103 · 29.06.2024 г., 09:50
https://youtu.be/TMRAZQxrOWM 👆👆Join the Youtube channel👆👆 🐓#POULTRY#BIOSECURITY🐓 👇👇👇 JOIN AND SUBSCRIBE
Hashtags
@russian_embassy_in_cambodia · Post #4770 · 17.06.2025 г., 03:49
🇷🇺🇰🇭 On June 10-11, Sochi hosted the 5th International Conference "Global Threats to Biological Security: Problems and Solutions", which was attended by representatives of the Ministry of Environment of the Kingdom of Cambodia. ☣️ The event, organized by Rospotrebnadzor jointly with the Ministry of Foreign Affairs of the Russian Federation, is focused on considering topical problems of biological security and seeking their solutions. 🤝 The participants of the Conference discussed international cooperation and exchanged assessments of national experience in countering biological threats. Scientific and technical developments in the context of ensuring biological security were considered. A thorough exchange of views on multilateral collaboration, readiness, response and assistance within the framework of the Biological and Toxin Weapons Convention (#BTWC) took place. The issue of strengthening the Convention was discussed in detail. Deputy Minister of Foreign Affairs of the Russian Federation H.E. Mr Sergey Ryabkov made a report on the problems of biological security and prospects for international cooperation in this area. #BioSecurity #RussiaCambodia
Hashtags
@russian_embassy_in_cambodia · Post #4717 · 05.06.2025 г., 14:08
🇷🇺🇰🇭 On June 4, in Phnom Penh the Russian-Cambodian consultations on biological security in an inter-agency format took place. An exchange of biological security threat assessments in Asia-Pacific Region as well as in the world was carried out. The issues of developing bilateral cooperation in the field of biosecurity and strengthening of the Biological and Toxin Weapons Convention (#BTWC) regime were discussed. The Sides discussed ways to strengthen the unity of approaches of Russia and Cambodia to the biological security. The Sides noted the need for further close coordination and constructive interaction both in bilateral format and at relevant multilateral fora, primarily within the framework of the BTWC and the UN. #RussiaCambodia#BioSecurity
Hashtags
@aseanrussia · Post #1664 · 06.06.2025 г., 03:46
🇷🇺🇰🇭 On June, 4 in Phnom Penh the Russian-Cambodian consultations on biological security in an inter-agency format took place. An exchange of biological security threat assessments in Asia-Pacific Region as well as in the world was carried out. The issues of developing bilateral cooperation in the field of biosecurity and strengthening of the Biological and Toxin Weapons Convention (#BTWC) regime were discussed. The Sides discussed ways to strengthen the unity of approaches of Russia and Cambodia to the biological security. The Sides noted the need for further close coordination and constructive interaction both in bilateral format and at relevant multilateral fora, primarily within the framework of the BTWC and the UN. #RussiaCambodia#BioSecurity
Hashtags
@aseanrussia · Post #1986 · 02.02.2026 г., 04:25
#BioSecurity 🇷🇺🇲🇲 On 29 January, 2026, Russian-Myanmar consultations on biological security in interagency format took place in Naypyidaw. The Russian delegation was headed by Konstantin Vorontsov, Deputy Director of the Department for Nonproliferation and Arms Control of the Ministry of Foreign Affairs of the Russian Federation, and the Myanmar delegation was headed by Aung Zay Ya, Deputy Minister of Science and Technology of the Republic of the Union of #Myanmar. The exchange of assessments concerning threats in the field of biological security in Asia-Pacific Region as well as in the world was conducted. The issues of developing bilateral cooperation in the field of biological security and strengthening the Biological and Toxin Weapons Convention (#BTWC) regime were discussed. The meeting confirmed the unity of approaches between the Russian Federation and Myanmar on the issues of biological security. 🤝 The need for further close coordination and constructive interaction both in bilateral format, as well as at relevant multilateral fora, primarily within the framework of the BTWC and the UN, was noted. #RussiaMyanmar
@MFARUSSIA · Post #28168 · 30.01.2026 г., 03:00
#BioSecurity 🇷🇺🇲🇲 On 29 January, 2026, Russian-Myanmar consultations on biological security in interagency format took place in Naypyidaw. The Russian delegation was headed by Konstantin Vorontsov, Deputy Director of the Department for Nonproliferation and Arms Control of the Ministry of Foreign Affairs of the Russian Federation, and the Myanmar delegation was headed by Aung Zay Ya, Deputy Minister of Science and Technology of the Republic of the Union of #Myanmar. The exchange of assessments concerning threats in the field of biological security in Asia-Pacific Region as well as in the world was conducted. The issues of developing bilateral cooperation in the field of biological security and strengthening the Biological and Toxin Weapons Convention (#BTWC) regime were discussed. The meeting confirmed the unity of approaches between the Russian Federation and Myanmar on the issues of biological security. 🤝 The need for further close coordination and constructive interaction both in bilateral format, as well as at relevant multilateral fora, primarily within the framework of the BTWC and the UN, was noted. #RussiaMyanmar
@vetvisionaryhub · Post #123 · 06.11.2025 г., 14:37
🐣 Don’t Miss This Exclusive Poultry Webinar! Wednesday, November 12, 2025, at 11:00 AM EST for a powerful learning session with Dr. Bret Rings (DVM, Cobb) — hosted by Jamesway. This webinar dives deep into evaluating 7-day chick mortality in the field, a vital topic for boosting flock performance, welfare, and profitability. 💡 What You’ll Gain: ✅ Simple, practical ways to categorize chick mortality ✅ How to identify early warning signs linked to flock health ✅ Insights into the main causes of first-week losses ✅ Data-driven corrective actions that actually work ✅ Proven methods to improve chick livability and overall farm results Whether you’re a breeder, hatchery manager, veterinarian, advisor, or student, this session will equip you with valuable tools for continuous improvement and success. 📅 Date & Time: Wednesday, November 12, 2025 | 11:00 AM EST 🌐 Language: English (Spanish interpretation available) 📍 Register Now: https://bit.ly/3JJPiO1 🎥 Join Live or Watch On Demand Let’s keep learning, sharing, and advancing poultry excellence together! #Poultry#BroilerBreeders#HatcheryManagement#AnimalHealth#VeterinaryScience#Biosecurity#Cobb#Jamesway#WebinarWednesday#ContinuousImprovement#KnowledgeSharing