Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ModuleNotFound error
#11
(Apr-08-2021, 05:16 PM)BernardChew Wrote: can u explain it for me about the difference between bdist_wheel and the book said "sdist"?

sdist is a source distribution.
bdist is a binary distribution.
For a pure Python project,those things are pretty close,advice use bdist.

Project includes any extension modules(can be C/C++ files) will sdist includes the source for those extension modules and will require a compiler OS.
The bdist includes the compiled form of those extension modules and does not require a compiler run on a system that is close to the one you created the bdist on.

So example there is Gohlke that has most wheel that can be used on Windows.
In most cases will pip install package find wheel automatic,but is some cases can need specific wheel for Window or Linux.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020