raspishake / rsudp

Continuous visual display, sudden motion monitoring, and historical replay of Raspberry Shake data
https://raspishake.github.io/rsudp/
GNU General Public License v3.0
52 stars 30 forks source link

Error while installing rsudp on pi 4 #58

Open matiro99 opened 1 year ago

matiro99 commented 1 year ago

Hello, Im trying to install rsudp on a raspberry pi 4, and i keep getting an error while it tries to upgrade pip, ive tried to do it manually but im not very advanced on this kind of issues. The error is the following:

(base) pi@raspberrypi:~/rsudp $ bash unix-install-rsudp.sh
Looking for existing installation...
Found anaconda at /home/pi/miniconda3
No rsudp environment found.
Starting install script.
--------------------------------------------
Raspberry Shake UDP client installer v0.3
Ian Nesbitt, Raspberry Shake S.A., 2022
--------------------------------------------
Please follow instructions in prompts.
Press Enter to continue...

This script will need to use or create a directory to store miniSEED data and screenshots.
Common choices might be /home/pi/rsudp or /home/pi/opt/rsudp
Where would you like the rsudp output directory to be located? You can use an existing one if you would like.
Press Enter when done (if no input is given, the script will use /home/pi/rsudp):
No directory was provided, using /home/pi/rsudp
Using existing directory /home/pi/rsudp
Looking for conda installation...
Anaconda installation found at /home/pi/miniconda3
conda executable: /home/pi/miniconda3/bin/conda
Source line already exists in /home/pi/.bashrc
Sourcing...
Activating conda...
Found conda-forge channel in /home/pi/.condarc
Creating and installing rsudp conda environment...
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.9.2
  latest version: 23.5.0

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: /home/pi/miniconda3/envs/rsudp

  added / updated specs:
    - cryptography
    - future
    - lxml
    - numpy=1.16.4
    - python=3
    - scipy
    - sqlalchemy

The following NEW packages will be INSTALLED:

  _libgcc_mutex      pkgs/main/linux-aarch64::_libgcc_mutex-0.1-main
  _openmp_mutex      conda-forge/linux-aarch64::_openmp_mutex-4.5-2_kmp_llvm
  blas               conda-forge/linux-aarch64::blas-2.114-openblas
  blas-devel         conda-forge/linux-aarch64::blas-devel-3.9.0-14_linuxaarch64_openblas
  ca-certificates    pkgs/main/linux-aarch64::ca-certificates-2023.05.30-hd43f75c_0
  certifi            pkgs/main/linux-aarch64::certifi-2022.12.7-py37hd43f75c_0
  cffi               pkgs/main/linux-aarch64::cffi-1.15.1-py37h998d150_3
  cryptography       pkgs/main/linux-aarch64::cryptography-39.0.1-py37h3d58568_0
  fftw               pkgs/main/linux-aarch64::fftw-3.3.9-hfd63f10_1
  flit-core          pkgs/main/noarch::flit-core-3.6.0-pyhd3eb1b0_0
  future             pkgs/main/linux-aarch64::future-0.18.3-py37hd43f75c_0
  greenlet           pkgs/main/linux-aarch64::greenlet-2.0.1-py37h419075a_0
  icu                pkgs/main/linux-aarch64::icu-68.1-h22f4aa5_0
  importlib-metadata pkgs/main/linux-aarch64::importlib-metadata-4.11.3-py37hd43f75c_0
  ld_impl_linux-aar~ pkgs/main/linux-aarch64::ld_impl_linux-aarch64-2.38-h8131f2d_1
  libblas            conda-forge/linux-aarch64::libblas-3.9.0-14_linuxaarch64_openblas
  libcblas           conda-forge/linux-aarch64::libcblas-3.9.0-14_linuxaarch64_openblas
  libffi             pkgs/main/linux-aarch64::libffi-3.4.4-h419075a_0
  libgcc-ng          pkgs/main/linux-aarch64::libgcc-ng-11.2.0-h1234567_1
  libgfortran-ng     pkgs/main/linux-aarch64::libgfortran-ng-11.2.0-h6e398d7_1
  libgfortran5       pkgs/main/linux-aarch64::libgfortran5-11.2.0-h1234567_1
  liblapack          conda-forge/linux-aarch64::liblapack-3.9.0-14_linuxaarch64_openblas
  liblapacke         conda-forge/linux-aarch64::liblapacke-3.9.0-14_linuxaarch64_openblas
  libopenblas        conda-forge/linux-aarch64::libopenblas-0.3.20-pthreads_h6cb6f83_0
  libstdcxx-ng       pkgs/main/linux-aarch64::libstdcxx-ng-11.2.0-h1234567_1
  libxml2            pkgs/main/linux-aarch64::libxml2-2.9.14-he30c317_0
  libxslt            pkgs/main/linux-aarch64::libxslt-1.1.35-hd0e857b_0
  llvm-openmp        pkgs/main/linux-aarch64::llvm-openmp-14.0.6-h308e764_0
  lxml               pkgs/main/linux-aarch64::lxml-4.9.1-py37h33836a5_0
  ncurses            pkgs/main/linux-aarch64::ncurses-6.4-h419075a_0
  numpy              conda-forge/linux-aarch64::numpy-1.16.4-py37h91f3968_0
  openblas           conda-forge/linux-aarch64::openblas-0.3.20-pthreads_h2d9dd7e_0
  openssl            pkgs/main/linux-aarch64::openssl-1.1.1u-h2f4d8fa_0
  pip                pkgs/main/linux-aarch64::pip-22.3.1-py37hd43f75c_0
  pycparser          pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0
  python             pkgs/main/linux-aarch64::python-3.7.16-h89984f6_0
  readline           pkgs/main/linux-aarch64::readline-8.2-h998d150_0
  scipy              pkgs/main/linux-aarch64::scipy-1.7.3-py37h8708280_2
  setuptools         pkgs/main/linux-aarch64::setuptools-65.6.3-py37hd43f75c_0
  sqlalchemy         pkgs/main/linux-aarch64::sqlalchemy-1.4.39-py37h998d150_0
  sqlite             pkgs/main/linux-aarch64::sqlite-3.41.2-h998d150_0
  tk                 pkgs/main/linux-aarch64::tk-8.6.12-h241ca14_0
  typing_extensions  pkgs/main/linux-aarch64::typing_extensions-4.4.0-py37hd43f75c_0
  wheel              pkgs/main/linux-aarch64::wheel-0.38.4-py37hd43f75c_0
  xz                 pkgs/main/linux-aarch64::xz-5.4.2-h998d150_0
  zipp               pkgs/main/linux-aarch64::zipp-3.11.0-py37hd43f75c_0
  zlib               pkgs/main/linux-aarch64::zlib-1.2.13-h998d150_0

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate rsudp
#
# To deactivate an active environment, use
#
#     $ conda deactivate

Activating rsudp environment...
Success: rsudp environment activated.
Upgrading pip...
/home/pi/rsudp/bin/unix-install.sh: line 247: 10484 Illegal instruction     pip install -U pip
---------------------------------
Something went wrong.
Check the error output and try again.

I tried to manually upgrade pip in the rsudp environment but it also returns illegal instruction maybe there is a compatibility issue with the architechture(?), does someone know how to fix this?

dmitryint commented 2 months ago

Hello. Thanks for your feedback. Based on your log, installation script detected an already existing conda version and used it. Can you share information about this installed version? To do this, just execute command conda info. Usually If you're seeing an "Illegal instruction" error when trying to use Conda, it typically suggests that there's a compatibility issue between the Conda software and your computer's CPU.