this post was submitted on 28 Apr 2025
12 points (87.5% liked)

Python

7053 readers
49 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
 

I've been trying to get luarocks to work on windows, and all it gives is cryptic gcc errors.

How does pip manage to work on most platforms without issues?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Corbin@programming.dev 4 points 2 days ago (1 children)

Pick a language like Perl, where some packages are written in C and some are written in pure Perl, and you'll get to experience the same cryptic GCC errors, sometimes. There's no secret to pip; many Python developers upload wheels with pre-compiled binaries, including Windows-compatible binaries, and so you don't have to run GCC because they already did it for you.

Thanks, this is the explanation I was looking for.

Also, lua is the same, packages are either written in c or pure lua.