mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#venv

0 Beiträge0 Beteiligte0 Beiträge heute
Audric<p><a href="https://tkz.one/tags/ayuda" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ayuda</span></a> fediverso <a href="https://tkz.one/tags/alpine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>alpine</span></a> <a href="https://tkz.one/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://tkz.one/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> </p><p>como se actualizan los paquetes de pip manejados por virtualenvironment en un alpine?</p><p>se agradece <a href="https://tkz.one/tags/boost" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>boost</span></a></p><p>edit: resuelto! tuve que recrear el venv que estaba sincronizado por nextcloud y desde otro equipo no funcionaba</p>
dilawar<p><a href="https://fosstodon.org/tags/OpenSUSE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSUSE</span></a> in AWS still has python3.6 as system python. Every time I use a python tool and ran into python3.6 and python3.9+ compatibility issues, my heart sinks a little. I know, there are solutions like <a href="https://fosstodon.org/tags/uv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uv</span></a>, <a href="https://fosstodon.org/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a>, <a href="https://fosstodon.org/tags/pipx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pipx</span></a>, <a href="https://fosstodon.org/tags/docker" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docker</span></a>, <a href="https://fosstodon.org/tags/nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nix</span></a> etc! </p><p>With <a href="https://fosstodon.org/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> you sweat (and cry) during development but with <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> (and <a href="https://fosstodon.org/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a>), you sweat (and cry) after deployment!</p><p>I'll die on the former hill rather than the later. Thank you!</p>
:rss: Qiita - 人気の記事<p>Pythonの開発用適当ツールの作成・実行はuvを使うのがオススメ<br><a href="https://qiita.com/ssc-ksaitou/items/9da75058489ebe8c2009?utm_campaign=popular_items&amp;utm_medium=feed&amp;utm_source=popular_items" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">qiita.com/ssc-ksaitou/items/9d</span><span class="invisible">a75058489ebe8c2009?utm_campaign=popular_items&amp;utm_medium=feed&amp;utm_source=popular_items</span></a></p><p><a href="https://rss-mstdn.studiofreesia.com/tags/qiita" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>qiita</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/pip" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pip</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/UV" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UV</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Ansible" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ansible</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a></p>
Silmathoron ⁂<p>For some reason, since this morning, the <a href="https://floss.social/tags/pip" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pip</span></a> that I installed via <a href="https://floss.social/tags/pipx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pipx</span></a> does not work with my other <a href="https://floss.social/tags/virtualenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>virtualenv</span></a> setups anymore (it installs all packages in its own pipx venv instead of the currently active venv).</p><p>Has anyone else encountered this issue? It makes pip virtually (hoho) unusable!</p><p><a href="https://floss.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://floss.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> <a href="https://floss.social/tags/virtualEnvironment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>virtualEnvironment</span></a></p>
arabiccola<p>For those using `uv` is this the right way to add a requirements.txt file to a project:<br>`cat requirements.txt | xargs -n 1 uv add`?</p><p><a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> <a href="https://mastodon.social/tags/uv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uv</span></a> <a href="https://mastodon.social/tags/pipenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pipenv</span></a> <a href="https://mastodon.social/tags/pip" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pip</span></a> <a href="https://mastodon.social/tags/pip3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pip3</span></a> <a href="https://mastodon.social/tags/python3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python3</span></a></p>
Redd T. Panda<p>good grief, we broke our <a href="https://unfufadoo.net/tags/ai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ai</span></a> <a href="https://unfufadoo.net/tags/alttext" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>alttext</span></a> script. for a while we were running the latest <a href="https://unfufadoo.net/tags/pixtral" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pixtral</span></a> <a href="https://unfufadoo.net/tags/vision" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vision</span></a> <a href="https://unfufadoo.net/tags/model" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>model</span></a> however we wanted to try <a href="https://unfufadoo.net/tags/Microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Microsoft</span></a> <a href="https://unfufadoo.net/tags/PHi4" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHi4</span></a> <a href="https://unfufadoo.net/tags/vision" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vision</span></a> model however we use <a href="https://unfufadoo.net/tags/conda" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>conda</span></a> for our python virtualization management. </p><p>this is a huge mistake <a href="https://unfufadoo.net/tags/lol" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lol</span></a> <a href="https://unfufadoo.net/tags/tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tech</span></a> <a href="https://unfufadoo.net/tags/aidev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>aidev</span></a> <a href="https://unfufadoo.net/tags/thestruggle" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>thestruggle</span></a> </p><p>i need a <a href="https://unfufadoo.net/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> for both pixtral and phi4 in one scripts run time. </p><p>suggestions anyone to work this mess?</p><p><a href="https://unfufadoo.net/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://unfufadoo.net/tags/development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>development</span></a> <a href="https://unfufadoo.net/tags/fail" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fail</span></a> </p><p>obviously we are running with the phi4v model however we were testing across all the accounts when we realized we broke the production scripts. </p><p>same login, supposedly different virtual environments. </p><p>blah. perhaps this is what <a href="https://unfufadoo.net/tags/uv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uv</span></a> is meant to fix?</p><p>Not really sure, I guess I could talk to <a href="https://unfufadoo.net/tags/ChatGPT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ChatGPT</span></a> about it lol</p>
:rss: gihyo.jp<p>第850回 UbuntuにおけるシステムPythonと、Pythonの仮想環境を使い分ける方法<br><a href="https://gihyo.jp/admin/serial/01/ubuntu-recipe/0850?utm_source=feed" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gihyo.jp/admin/serial/01/ubunt</span><span class="invisible">u-recipe/0850?utm_source=feed</span></a></p><p><a href="https://rss-mstdn.studiofreesia.com/tags/gihyo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gihyo</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/%E6%8A%80%E8%A1%93%E8%A9%95%E8%AB%96%E7%A4%BE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>技術評論社</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/gihyo_jp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gihyo_jp</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/%E6%8A%80%E8%A1%93%E5%8B%95%E5%90%91" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>技術動向</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/%E6%8A%80%E8%A1%93%E8%A7%A3%E8%AA%AC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>技術解説</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/%E6%A5%AD%E7%95%8C%E5%8B%95%E5%90%91" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>業界動向</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/OS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OS</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>プログラミング</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Ubuntu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ubuntu</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/pyenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyenv</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Anaconda" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Anaconda</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/conda" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>conda</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/pip" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pip</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/uv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uv</span></a></p>
Silmathoron ⁂<p>Hey <a href="https://floss.social/tags/Fedi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fedi</span></a>, can you help me with a <a href="https://floss.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> environment pain-point?</p><p>TL;DR : I want global <a href="https://floss.social/tags/virtualenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>virtualenv</span></a> management</p><p>I've been using virtual environments for quite some time, but I might be missing some standard feature because switching env is a pain: I have to be in the right folder (where the venv dir was created) or manually configure a shell script.<br>Is there a tool that can provide me with the equivalent of ``envswitch envname`` regardless of the folder I'm in?</p><p><a href="https://floss.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> <a href="https://floss.social/tags/poetry" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>poetry</span></a> <a href="https://floss.social/tags/pipenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pipenv</span></a> <a href="https://floss.social/tags/askFedi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>askFedi</span></a></p>
Andrea Grandi 🦕<p>Stepping my feet into uv world - part 1 <a href="https://www.andreagrandi.it/posts/stepping-my-feet-into-uv-world-part-1/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">andreagrandi.it/posts/stepping</span><span class="invisible">-my-feet-into-uv-world-part-1/</span></a></p><p><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>development</span></a> <a href="https://mastodon.social/tags/uv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uv</span></a> <a href="https://mastodon.social/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://mastodon.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/tutorial" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tutorial</span></a> <a href="https://mastodon.social/tags/howto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>howto</span></a></p>
Mathias Panzenböck<p>Started experiments in <a href="https://chaos.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> for work last week. Created a .venv for that. Today I try to continue on it, but `source .venv/bin/activate` does nothing. Well, it changes the prompt, but it still tries to run the system's Python/pip/... and can't find any of the installed packages. <a href="https://chaos.social/tags/WTF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WTF</span></a> It worked last week! What could be wrong? Don't want to re-create the <a href="https://chaos.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> (every time?), its 5.5 GB! <a href="https://chaos.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a></p>
barefootstache<p>After programming a good 2 months in <a href="https://qoto.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> finally found the tool <a href="https://qoto.org/tags/poetry" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>poetry</span></a> which is quite similar to how <a href="https://qoto.org/tags/nodejs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nodejs</span></a> bundles libraries into a directory either locally or globally in the cache directory.</p><p>I have tried the other tools from <a href="https://qoto.org/tags/pyenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pyenv</span></a> to <a href="https://qoto.org/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> and/or <a href="https://qoto.org/tags/virtualenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>virtualenv</span></a>. Where I thought they were used to deal with library dependency management only to realize that they are more like <a href="https://qoto.org/tags/nvm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nvm</span></a>.</p><p>I did use <a href="https://qoto.org/tags/conda" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>conda</span></a> for some time, though preferred a python only solution. I do realize that poetry won't resolve all issues and might need to look into to containerization later on, though for the time period it looks like a good solution.</p>
WetHat💦<p>Key Points:<br>➡️ Using a Python venv in a Docker container ensures homogeneity and reduces complexity. <br>➡️ It prevents conflicts between system libs and project deps. <br>➡️ Even minimal images benefit from venvs due to the ever-changing ecosystem. <br>➡️ Venvs are cheap and offer a high ROI. <br>➡️ They help maintain a consistent dev environment.</p><p><a href="https://www.bitecode.dev/p/yes-you-should-use-a-python-venv" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">bitecode.dev/p/yes-you-should-</span><span class="invisible">use-a-python-venv</span></a></p><p><a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/Docker" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Docker</span></a> <a href="https://fosstodon.org/tags/VirtualEnvironment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VirtualEnvironment</span></a> <a href="https://fosstodon.org/tags/DevOps" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevOps</span></a> <a href="https://fosstodon.org/tags/SoftwareDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SoftwareDevelopment</span></a> <a href="https://fosstodon.org/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://fosstodon.org/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a></p>
Pedro J. Hdez<p>I leave an info here that has taken me a while to find out about the use of python environments in <a href="https://mstdn.social/tags/VSCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VSCode</span></a> (Codium)</p><p>In case you have a <a href="https://mstdn.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mstdn.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> already created in a certain path and you want to use it in VS just go to settings, search for venv and indicate the path of the folder. </p><p>After doing this you will be able to select the python interpreter of the added venv.</p><p>In the image you can see the example I solved with the path to the jupyterlab-desktop venv in <a href="https://mstdn.social/tags/VSCodium" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VSCodium</span></a></p>
Snagburz<p>A new post in my <a href="https://techhub.social/tags/blog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blog</span></a> <a href="https://phpandmore.net/2024/12/10/newest-versions-of-python-modules-and-a-magazine-recommendation/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">phpandmore.net/2024/12/10/newe</span><span class="invisible">st-versions-of-python-modules-and-a-magazine-recommendation/</span></a></p><p>It is about running <a href="https://techhub.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://techhub.social/tags/scripts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scripts</span></a> in a virtual environment and a recommended <a href="https://techhub.social/tags/magazine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>magazine</span></a> named <a href="https://techhub.social/tags/magpi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>magpi</span></a>, in which I've found the aricle about <a href="https://techhub.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> <br>Have fun!</p><p><a href="https://techhub.social/tags/technology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>technology</span></a> <a href="https://techhub.social/tags/goodreads" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>goodreads</span></a> <a href="https://techhub.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://techhub.social/tags/projects" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>projects</span></a> <a href="https://techhub.social/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://techhub.social/tags/hardware" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hardware</span></a></p>
C.<p>I am just about fed up with <a href="https://mindly.social/tags/poetry" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>poetry</span></a> (for <a href="https://mindly.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> development).</p><p>When it works, it's great. But when it doesn't do what you expect, it seems to be virtually impossible to determine why, and the <a href="https://mindly.social/tags/documentation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>documentation</span></a> barely scratches the surface, basically only showing the happy path.</p><p>An example that has bugged me for ages: <a href="https://mindly.social/tags/entrypoints" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>entrypoints</span></a> set up with the [tool.poetry.scripts] configuration in pyproject.toml are sometimes silently ignored. `poetry install` doesn't set them up in the <a href="https://mindly.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a>.</p><p>1/x</p>
Mathias Hasselmann<p><a href="https://mastodon.green/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> is not my major field of work. So it was easy to ignore <a href="https://mastodon.green/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> for quite a while. Later collegues insisted on using them, and I totally hated them because they seemed like absolute nonsense and bloat.</p><p>Turned out venv appeared like total nonsense and bloat because my colleges only copied from random examples in the Internet without much thought.</p><p>Used properly <a href="https://mastodon.green/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> is awesome and great, just like most stuff the fine Python people invent.</p><p>Lesson to learn: Learn yourself, don't grumble.</p>
Todd A. Jacobs | Rubyist<p><span class="h-card" translate="no"><a href="https://mastodon.social/@jamiemccarthy" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jamiemccarthy</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@mistersql" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mistersql</span></a></span> You missed <a href="https://ruby.social/tags/chruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>chruby</span></a> and <a href="https://ruby.social/tags/asdf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>asdf</span></a>. I personally recommend chruby over the others, but have used all of them and they each have their good points. *Please* don't mess with your system Ruby or Bad Stuff™ is likely to happen.</p><p><a href="https://ruby.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> is now part of the <a href="https://ruby.social/tags/Python3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python3</span></a> standard library these days, but <a href="https://ruby.social/tags/RubyLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyLang</span></a> offers more choices. Plus, there are various ways to install <a href="https://ruby.social/tags/RubyGems" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyGems</span></a> locally into your project even without <a href="https://ruby.social/tags/Bundler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bundler</span></a>. See `gem install --help` for options.</p>
Nicolas Delsaux<p><span class="h-card" translate="no"><a href="https://felin.social/@archiloque" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>archiloque</span></a></span> Mind you, I had the exact same feeling while trying to install <a href="https://framapiaf.org/tags/woob" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>woob</span></a> on <a href="https://framapiaf.org/tags/ubuntu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ubuntu</span></a>. I failed in a trap lying between <a href="https://framapiaf.org/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> and <a href="https://framapiaf.org/tags/virtualenv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>virtualenv</span></a></p>
Nicola Romanò<p>Any Shiny for Python experts out there? I'm starting to play around with it; I've deployed my app to a DigitalOcean droplet running Shiny Server and pointed /etc/shiny-server/shiny-server.conf to a venv I want to use.</p><p>That works like a charm, but I'm wondering if I would be able to use multiple environments in case I wanted different apps to use different package/Python versions. Not a deal-breaker (and honestly I don't have a use case right now, but still...)</p><p><a href="https://qoto.org/tags/posit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>posit</span></a> <a href="https://qoto.org/tags/shiny" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shiny</span></a> <a href="https://qoto.org/tags/shinyserver" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shinyserver</span></a> <a href="https://qoto.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://qoto.org/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a></p>
Ashwin Nanjappa 🐘<p><span class="h-card" translate="no"><a href="https://mastodon.social/@com" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>com</span></a></span> <span class="h-card" translate="no"><a href="https://floss.social/@avolkov" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>avolkov</span></a></span> <span class="h-card" translate="no"><a href="https://bolha.us/@morgaelyn" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>morgaelyn</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@pamelafox" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pamelafox</span></a></span> I use a unique virtual environment for each Python project and use `pip freeze &gt; requirements.txt` inside that venv to commit the dependencies. Am I missing anything compared to this `pip-tools compile`? 🤔</p><p><a href="https://mastodon.social/tags/venv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>venv</span></a> <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/pip" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pip</span></a> <a href="https://mastodon.social/tags/requirementstxt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>requirementstxt</span></a></p>