JanLahmann / RasQberry

The RasQberry project: Exploring Quantum Computing and Qiskit with a Raspberry Pi and a 3D Printer
Apache License 2.0
136 stars 25 forks source link

Qiskit 0.42 install procedure fails (due to dependency on symengine) #151

Open JanLahmann opened 2 months ago

JanLahmann commented 2 months ago

Qiskit 0.42 install on recent Raspberry Pi OS armv7l (32-bit) architecture fails.

The existing install procedure used to work a couple of months ago.

to reproduce the issue:

  1. initialise SD card with "Raspberry Pi OS (legacy 32-bit)
  2. ssh to raspberry
  3. wget https://github.com/JanLahmann/RasQberry/raw/dev10/RasQ-init.sh
  4. . ./RasQ-init.sh dev10 (to fix 32-bit mode)
  5. curl -o get_rustup.sh -s https://sh.rustup.rs
  6. sh ./get_rustup.sh -y
  7. source $HOME/.cargo/env
  8. pip3 install --no-warn-script-location --prefer-binary 'qiskit==0.42'

Remark: Qiskit 0.44 seems to work.