Home Forums Software Release Notes 17.11.2024: v1.5.0 (Part 1)

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #4224
    ludger
    Keymaster

      …differently from the previous versions, the Raspi server is now based on a Conda environment for the Python libraries (like the PCs are). This change requires the installation of Conda before you perform the server software upgrade from the CAM-AI main menu. Here is how. After logging into the Raspi you have to perform these Steps:

      sudo systemctl disable dphys-swapfile
      sudo systemctl stop dphys-swapfile
      wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh
      bash Miniforge3-Linux-aarch64.sh

      This installation script is a little odd. First you press Enter to start installation. After reading the license agreement you hit Ctrl-C and Enter again. After that you confirm all other questions with either yes or Enter for default (the installation directory).

      rm Miniforge3-Linux-aarch64.sh
      source ~/.bashrc
      conda create --name tf python=3.11

      If your CAM-AI server is configured for autostart, you have to change the autostart script slightly:
      nano ~/bashes/start-c_server-service.sh
      Find the line
      source env/bin/activate
      and replace it with these two lines:

      source ~/miniforge3/etc/profile.d/conda.sh
      conda activate tf

      When you are done, save and reboot your Raspi.
      sudo reboot now
      After that you should be able to upgrade as usual…

      • This topic was modified 2 weeks, 2 days ago by ludger.
      • This topic was modified 2 weeks, 2 days ago by ludger.
    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.
    Scroll to Top