32blit-sdk icon indicating copy to clipboard operation
32blit-sdk copied to clipboard

2 noob issues and fixes

Open mgarcia-org opened this issue 6 years ago • 2 comments

in file: https://github.com/pimoroni/32blit-beta/blob/master/docs/Linux.md

On the "sudo apt install ...." line, it should include: python3-setuptools

And , line "pip3 install construct bitstring" requires sudo

mgarcia-org avatar Mar 09 '20 10:03 mgarcia-org

The last one also on tools doc in src (updated 11 days ago): https://github.com/pimoroni/32blit-tools/blob/master/src/README.md

Which is duplicated in root folder (updated 17 days ago): https://github.com/pimoroni/32blit-tools/blob/master/README.md

mgarcia-org avatar Mar 09 '20 11:03 mgarcia-org

Every time I stick "sudo" before a command in documentation, someone drives by to say I should leave the bare command and add something like "You might need sudo." 😆

I'm not quite sure how we should approach this, but it probably needs standardised somehow. Some Python setups will happily install packages for just the current user- but the root/user environments don't cross pollinate so it can - and does, in my case - confuse the heck out of people.

Oh Python 🙄

I think you're right re python3-setuptools though.

Gadgetoid avatar Oct 01 '20 08:10 Gadgetoid

I'm going to close this as sudo pip install is even less likely to be the right thing to do these days...

(Though we might need a new issue for updating the tools instructions in general...)

Daft-Freak avatar Jan 27 '25 15:01 Daft-Freak

These days, installing setuptools is mostly not required: most projects are downloaded as wheels, that don’t have build steps, and those that use sdists have metadata that specifies their build backend (setuptools or other) to the installer tool.

merwok avatar Jan 27 '25 16:01 merwok