what are python wheels? (intermediate - advanced) anthony explains

  Рет қаралды 21,374

anthonywritescode

anthonywritescode

2 жыл бұрын

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!

Пікірлер: 28
@jeffz7310
@jeffz7310 2 жыл бұрын
Thank you for being the best Python explainer ever
@GameSmilexD
@GameSmilexD 2 жыл бұрын
generally people this good also dont share much content, thankfully he does
@dineshr93
@dineshr93 2 жыл бұрын
19:14 five different wheel paths that are mapped to different folders in env/pythonx path
@AZIARGROUS
@AZIARGROUS 2 жыл бұрын
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
@anthonywritescode
@anthonywritescode 2 жыл бұрын
eggs and easy_install should really never be used any more
@MurtagBY
@MurtagBY Жыл бұрын
thank you
@mohamedelrefaiy
@mohamedelrefaiy Жыл бұрын
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
@musicforwork5461
@musicforwork5461 Жыл бұрын
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.
@PouriyaJamshidi
@PouriyaJamshidi 2 жыл бұрын
Thanks! Maybe a short video on building wheels?
@anthonywritescode
@anthonywritescode 2 жыл бұрын
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
@Seff2
@Seff2 2 жыл бұрын
So... Why do I need this? Isn't that the same als just installing stuff with pip?
@antongorshenin1116
@antongorshenin1116 2 жыл бұрын
Thank you very much! Very good explanations! Second like for squishmellows on the back! :)
@jeffz7310
@jeffz7310 2 жыл бұрын
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
@anthonywritescode
@anthonywritescode 2 жыл бұрын
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: kzbin.info/www/bejne/b2iyf3msp6uBeJo
@jeffz7310
@jeffz7310 2 жыл бұрын
@@anthonywritescode do you just use a text editor
@anthonywritescode
@anthonywritescode 2 жыл бұрын
yep -- I use my own text editor: github.com/asottile/babi
@bennguyen1313
@bennguyen1313 Жыл бұрын
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'
@anthonywritescode
@anthonywritescode Жыл бұрын
it shouldn't be any different from a wheel. I don't know anything about windows installers though
@ahmedifhaam7266
@ahmedifhaam7266 2 жыл бұрын
hang on, I thought python was the default implementation of python ? how is py actually different from cp again ?
@magicsmoke0
@magicsmoke0 Жыл бұрын
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.
@anthonywritescode
@anthonywritescode Жыл бұрын
that's just python packaging -- not really related
@anthonywritescode
@anthonywritescode Жыл бұрын
I have a bunch of packaging videos if you want to understand that portion
@JeroenLapre
@JeroenLapre 2 жыл бұрын
Thanks for helping demistifying python wheels!
@k98killer
@k98killer 2 жыл бұрын
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.
@anthonywritescode
@anthonywritescode 2 жыл бұрын
that wouldn't be a self-referential hash then
@k98killer
@k98killer 2 жыл бұрын
@@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.
@brahimboughanam1662
@brahimboughanam1662 Жыл бұрын
thank you watching you at 03:30 am
@beto5720
@beto5720 2 жыл бұрын
You need to do a whole video of Monty Python references in python lol
recursively import python modules (intermediate) anthony explains #372
9:18
Elana Hashman - The Black Magic of Python Wheels - PyCon 2019
26:23
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 63 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:26
CRAZY GREAPA
Рет қаралды 22 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 34 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 82 МЛН
how do virtualenvs actually work (advanced) anthony explains #522
16:55
anthonywritescode
Рет қаралды 7 М.
Python Hash Sets Explained & Demonstrated - Computerphile
18:39
Computerphile
Рет қаралды 112 М.
py-spy saved our python 3.11 rollout (intermediate) anthony explains #568
13:48
55. Package your Python code as Wheel File
20:44
WafaStudies
Рет қаралды 18 М.
my python project setup (+ all tools) (intermediate) anthony explains #396
31:38
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 797 М.
Modern Python logging
21:32
mCoding
Рет қаралды 166 М.
Nature's Incredible ROTATING MOTOR (It’s Electric!) - Smarter Every Day 300
29:37
Я купил первый в своей жизни VR! 🤯
1:00
Вэйми
Рет қаралды 3,3 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 28 МЛН
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 162 М.
#samsung #retrophone #nostalgia #x100
0:14
mobijunk
Рет қаралды 11 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 5 МЛН