what are python wheels? (intermediate - advanced) anthony explains
HTML-код
- Опубликовано: 14 дек 2021
- today I talk about wheels, what the filename means, how they're built, what the format looks like, and how to install them!
- what is abi3: • making python releases...
- what is manylinux: • what is manylinux? (in...
playlist: • anthony explains
==========
twitch: / anthonywritescode
dicsord: / discord
twitter: / codewithanthony
github: github.com/asottile
stream github: github.com/anthonywritescode
I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below! Наука
Thank you for being the best Python explainer ever
generally people this good also dont share much content, thankfully he does
Awesome stuff as always, thanks you rock! A debatable (in usefulness) request: an intro to eggs and easy_install? They are all superseded now but they do still pop up from time to time
eggs and easy_install should really never be used any more
19:14 five different wheel paths that are mapped to different folders in env/pythonx path
thank you
So... Why do I need this? Isn't that the same als just installing stuff with pip?
Thanks!
Maybe a short video on building wheels?
the problem is that tooling is quite a bit in flux right now -- there's both `pip wheel .` and `build ...` and `python setup.py bdist_wheel` -- if you check out the links in the video description I go over some of those
Thank you very much! Very good explanations! Second like for squishmellows on the back! :)
Thanks for helping demistifying python wheels!
So if you install a python package from wheel or a windows installer, then it won't show up in pip show (or pip freeze) correct?
I've been trying to find an older version of sip (wheel) that work with python 3.4 / PyQt 5.4.1.. as my application script runs fine, but the 32-bit exe built from it (nuitka) has the error : No module named 'sip'
it shouldn't be any different from a wheel. I don't know anything about windows installers though
please how to fix that error
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
You probably have sorted this out, I'd go onto stackoverflow next time, but there are a number of problems that could have caused this. I get this issue sometimes if I'm using the wrong version of python, or if something about the file doesn't work for macos, or isn't built for the new m1 chip or if there is a bug that requires a newer update than that listed in the requirements. First try a different version of the tool, then check the other factors if it still doesn't work.
Could you make a video about setting up real time linter in vscode for jupyter notebook? And maybe a general linter for other .py files too
I don't use vs code nor jupyter so I wouldn't really know what to speak about there -- as for python linters there's a few on that topic -- the best is probably my github universe talk: ruclips.net/video/97ONFvrFNB8/видео.html
@@anthonywritescode do you just use a text editor
yep -- I use my own text editor: github.com/asottile/babi
I didn't see anything on generating the wheel files. is that in another video? Especially a more complicated one with multiple source files and directories.
that's just python packaging -- not really related
I have a bunch of packaging videos if you want to understand that portion
hang on, I thought python was the default implementation of python ? how is py actually different from cp again ?
A file with a self-referential hash is technically possible by parsing the file content and removing the line containing the self-referential hash, but that would be incompatible with other file hashing tools.
that wouldn't be a self-referential hash then
@@anthonywritescode it is a self-referential content hash, just with the line containing the hash excluded from the hashing operation. It's the closest thing you can get to it.
thank you
watching you at 03:30 am
You need to do a whole video of Monty Python references in python lol