If one is going to be futzing around with #python on their system, I think the best way to inoculate/isolate one's user-space from the system is to install #pyenv
I used to completely pollute my installations by mucking up #pip installations with installing distribution python packages and end up struggling to get them working together properly.
pyenv is a great prophylactic if one doesn't need the #conda environment.
Exclusive: Disabled people are ‘set up to fail’ by the DWP in target-driven disability benefits system, whistleblowers reveal
https://www.bigissue.com/news/social-justice/dwp-disability-benefits-claimants-fail-whistleblowers/
#dwp #disabled #whistleblower #SetUpToFail #pip #TheBigIssue
So proud of this announcement and excited for the future of #Python and #pip! 🥳
But we're not stopping there, I'm drafting guidance for other #opensource projects to join the #CVE program and manage their own vulnerabilities. Stay tuned! 🚀
Python issue solved the "redneck repair" way, installing *everything* to /usr/lib64 (on a 64bit system) instead of *just* the architecture-dependent stuff. Now, python works and finds all its modules... 🙄
After porting lots of extra python tools (cause #pip won't do it for proper packaging with staging), it seems I finally have a working #meson in my #FreeBSD #Linuxulator userland 🥳
Nevermind all these extra modules install to /usr/lib. Well, it works, I don't care 😂
Doing a full rebuild of all the #Linux ports now just to be sure (cause I also changed stuff in my USES). If all is fine, branch will be updated 🙏
#pip #meson #freebsd #linuxulator #linux
poetry всем хорош, но когда нам нужно сменить процессор для определенных библиотек (например pythorch) — начинается головняк.
Конечно, можно опять воспользоваться pip. Например вот так:
pip install torch --index-url https://download.pytorch.org/whl/cpu
а потом что-то вроде этого:
poetry add $(pip list --format=freeze | grep torch | tr '\n' ' ')
Но выглядит как-то костыльно. Может есть лучший способ?
#pip #poetry
【Python】pipenvそのものをダウングレードする方法
https://qiita.com/saitoooooooo/items/24566ec048cb98749f16?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Python #pip #Pipenv
What is [Errno 2] in pip installation? #packagemanagement #softwareinstallation #python #python3 #pip
#packagemanagement #softwareinstallation #python #python3 #pip
I am creating my first package currently, and I am actually not having any problems with #PIP while using virtual environments and requirements.txt I actually have no problem.
It's not that I hate or enjoy it, I am just not having any problems.
I blogged a thing!
🐍 Best resources on Python packaging 📖 https://dev.to/astrojuanlu/best-resources-on-python-packaging-fea on @thepracticaldev
This feature I contributed to pip has saved us today ❤️ https://github.com/pypa/pip/pull/10937
If you launch `pip install -vv` or `export PIP_VERBOSE=2` you can see more detailed messages when there is a conflicting dependency. Look for `INFO: Will try a different candidate, due to conflict:` in the logs.
X(Twitter)で見かける誤字ツイート(誤字エックス)を生成するライブラリ
https://qiita.com/10tat1v3/items/18077d3d41c704565dd6?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Python #Twitter #pip
Headline: Cloudflare being exploited for malicious activity
Article: Actual vulnerability is caused by a lack of moderation of third party Python packages
https://www.techradar.com/pro/cloudflare-tunnels-are-being-used-to-breach-networks
#cloudflare #python #pypi #pip #programming
Importing python packages installed with pipx #apt #packagemanagement #python #pip #2304
#apt #packagemanagement #python #pip
If I have a python/C++ project using meson and a pyproject.toml file and I want to build a wheel WITH debug symbols. How would I do that?
My current wheels build without the symbols making debugging much more difficult.
Update: I added , '--debug' to the setup array under [tool.meson-python.args]
"Headache"? What a load of dog whistle bollocks.
#PIP is a tortuously difficult #benefit to get, as anyone who's ever actually needed to do so will tell you. #Tribunals in the UK are backlogged for months on end, because the #DWP make so many wrong refusals of a benefit they should have awarded.
https://www.coventrytelegraph.net/news/uk-world-news/70-medical-conditions-could-entitle-27426112
New card! This time it's Pip from Paladins.
Be careful wishing to become a cute fuzzy fenn from a game... you might just be shrinking.
Character is from Paladins.
Art is by me.
#Media_Multiverse #transformation #pip #paladins #fennec #shrinking #naked #erection
#media_multiverse #transformation #pip #paladins #fennec #shrinking #naked #erection
@gotofritz 100% with you. Not sure if I managed to verbalize it the way it was intended with regards to dependency tracking. Last time I checked (my view might be outdated here) #pip freeze only tracked first order depdencies (meaning, deps your project explictly depends on) as opposed to what #poetry or #pipenv are able to accomplish with their lockfiles, effectively tracking your entire dependency tree (though you can still do that using pip-tool.)
I also recently used it in my pwn project. I wrote the @3dprinting #bot for #Mastodon.
The bot gets the notifications from the API and stores it in a local database. The user can implement these functions and use my decorators. The functions are then called for every notification.
So you don't need to loop. You just say what you want the bot to do with every single follow, mention, etc. So it is just so simple for less technical users. I could also make opinionated decisions and design the bot how I want it, and users don't need to worry about how the bot actually works.
This also allowed me to turn the bot into a package and allows the user to update it with #pip without needing to change their code as only the backend changes.