enviroplus-python icon indicating copy to clipboard operation
enviroplus-python copied to clipboard

install.sh not working when trying to install over SSH

Open highfly117 opened this issue 1 year ago • 5 comments

I'm trying to get my enviro+ set up but the install.sh keeps giving an error that my enviro externally-managed-environment

I tried setting up a virtual environment and then running the install.sh but i get the same error message

highfly117 avatar Oct 31 '23 20:10 highfly117

Did something not paste properly into the comment as it seems like something is missing?

hulleyrob avatar Oct 31 '23 21:10 hulleyrob

This is happening because of changes to Raspberry Pi OS, I'm in the process of fixing our code but... there's quite a lot of it. In particular I am trying to focus on Enviro right now, so expect things to start working... soooon.

The what and why of this chaos is explained somewhat here: https://github.com/pimoroni/boilerplate-python/pull/13

Progress on the fixes is detailed here: https://github.com/pimoroni/enviroplus-python/pull/126

Gadgetoid avatar Oct 31 '23 21:10 Gadgetoid

so can we image an older version of raspberry pi OS and if so whats the latest version we can use?

highfly117 avatar Oct 31 '23 21:10 highfly117

so can we image an older version of raspberry pi OS and if so whats the latest version we can use?

On a Pi 5. no.

On a Pi 4. Sure-

  • arm64 (64bit) - http://downloads.raspberrypi.org/raspios_oldstable_arm64/images/raspios_oldstable_arm64-2023-10-10/2023-05-03-raspios-bullseye-arm64.img.xz
  • armhf (32bit) - http://downloads.raspberrypi.org/raspios_oldstable_armhf/images/raspios_oldstable_armhf-2023-10-10/2023-05-03-raspios-bullseye-armhf.img.xz

Gadgetoid avatar Oct 31 '23 21:10 Gadgetoid

Just got my Enviro+ and it immediately fails to work cos the instructions are wrong (unamused)

A little digging and a hacky solution is

pip install enviroplus --break-system-packages

Now examples work

peardox avatar Nov 10 '23 15:11 peardox

The installation instructions on Github (and on Learn) should now be up to date (and hopefully more helpful with regards to virtual environments). Sorry that things have been a little chaotic for the last few months!

Closing this one for now, but let us know if you're still having issues.

helgibbons avatar Apr 25 '24 14:04 helgibbons