FAILED - RETRYING: Install or remove PyPI dependencies [SOLVED]

Hi folks!. How are you?!

I started to set up a ground station using a laptop and Debian 10, but unfortunately, I couldn’t. I thought it would be just a weekend project. Trying to make something run before the weekend ends, I started to set up the SatNOGS client on a Raspberry Pi 3, and this was the result:

By the way, I’ll post my experience on Debian 10 Desktop as well, hoping for more experienced mates to give a hand on this.

Setting up SatBONGS client on Raspberry Pi 3

Raspbian 10
Omnidirectional ground station
RTL-SDR dongle (RLT2832U)

Following the steps described next:

https://wiki.satnogs.org/Raspberry_Pi3

https://wiki.satnogs.org/SatNOGS_Client_Ansible#SatNOGS_Client_Setup

https://wiki.satnogs.org Omnidirectional_Station_How_To#Software_Configuration

Data integrity verification:

$ sha256sum -c sha256sums
2019-09-11-Raspbian-SatNOGS-lite.info: OK
image_2019-09-11-Raspbian-SatNOGS-lite.zip: OK

Image file unzipped and then flashed using ISO Image Writer on Manjaro Linux .

Wired Ethernet and a USB keyboard are used.

Raspberry Pi setup:

$ sudo raspi-config

set zone to London
set timezone to UTC
wifi country no set
filesystem expanded

$sudo reboot

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo reboot

SatNOGS Setup:

Following step 2 from:

https://wiki.satnogs.org/SatNOGS_Client_Ansible#SatNOGS_Client_Setup

logged in using settings by default:
username: pi
password: raspberry

$ sudo satnogs-setup

Upgrade
Update
Apply

$sudo reboot

$sudo satnogs-setup

Basic Configuration

SATNOGS_API_TOKEN API token from the station
SATNOGS_RX_DEVICE rtlsdr
SATNOGS_STATION_ELEV station elevation in meters
SATNOGS_STATION_ID station ID from network.satnogs.org
SATNOGS_STATION_LAT latitude
SATNOGS_STATION_LON longitude
HAMLIB_UTILS_ROT_ENABLED no

Advanced Setup:

SATNOGS_NETWORK_API_URL https://network.satnogs.org/api/

Then…

Apply

…And here the problem comes up:

I’m just an amateur, so any comment about this is very appreciated.
Thanks!

2 Likes

On my SatNOGS Raspberry Pi, PyPi is not installed in the package manager (APT) nor via pip, as far as I can tell.

You may have hit a bug, I’m not sure. There’s another similar discussion here:

1 Like

I’m getting the same errors as edupizzi after doing the satnogs-setup Apply. This is with a new Rpi4. Any suggestions?

1 Like

I think we’re going to have to dig in a bit. My wild guess is it is related to python 2 vs. python 3, but we’ll see. What do you get for output of this from the command line:

$ pip list  | grep -i pypi
$ pip3 list | grep -i pypi
$ dpkg -l   | grep -i pypi

When I send either the pip list or pip3 list commands it returns pip: command not found or pip3: command not found. The dpkg -1 returns nothing, just the $ prompt.

1 Like

That’s dpkg -l | grep -i pypi.

The -l is lower case L.

If you don’t have pip and/pip3 installed, that is ok.

Comes right back to the $ prompt after issuing that command. Nothing displayed.

1 Like

Ok, so it sounds like you probably don’t have PyPi installed anywhere on the system, or they would have been listed in the output of one or more of the above commands.

I opened a ticket for this issue here:

2 Likes

It seems to be an unlikely bug.
Thanks for your help in this issue. I have no idea what to do or how to give a hand.

1 Like

Should new users install PyPi manually or is this normally done in the update process?

1 Like

@edupizzi, @radiance

For right now, there isn’t a known workaround. If you want to try experiments, go for it. I’m guessing a fix may be a few(?) days off, it’s really an upstream issue. If you find anything, let us know!

@radiance, @edupizzi:
I have a workaround here: https://gitlab.com/librespacefoundation/satnogs/satnogs-client-ansible/issues/58#note_272225674

1 Like

Great!. I’ll try your suggestion posted on gitlab. I´ll let you know if something change.

1 Like

Fixed in latest satnogs-client-ansible. Please Update and Apply.

7 Likes

I just updated as Acinonyx mentioned, and it seems to work just it should. The issue didn’t come up.
Thank you very much to all of you, for your time and will to solve this. Great community!.

4 Likes

No problems updating my Pi4. Thanks for the fix!

3 Likes