- This topic has 2 replies, 2 voices, and was last updated 10 months ago by
harrison.
-
AuthorPosts
-
August 3, 2025 at 4:05 pm #1957
tisafa
ParticipantHi! I am hoping to import requests and traceback for a custom program (using flow cytometer counts from an external program). I was looking through the github to determine how modules are installed on the chibios (as these modules are already installed on the computer but cannot be found when I import them in app.py).
I was comparing our setup.sh files to the one on github, which seems to have the pip installation for current modules (https://github.com/HarrisonSteel/ChiBio/blob/master/setup.sh), and ours looks quite different:
#!/bin/bash
set -euo pipefailcd
dirname $0
npm i
if ! [ -d acorn/.git ]; then
git clone https://github.com/c9/acorn
fi
pushd acorn
git fetch origin
git reset origin/master –hard
npm i
npm run build
popdcp acorn/dist/* node_modules/acorn/dist
node eslint.js
I’m wondering whether adding these modules to setup.sh is the correct approach/am I looking at the wrong file. Also – if there is a simpler method to install new modules so that I don’t rerun setup.sh.
Thanks!
August 3, 2025 at 4:18 pm #1958tisafa
ParticipantHaving issues editing the original post, but I forgot to mention – I started looking into setup.sh after
pip3 install requestson PuTTY didn’t work (after cd chibio). Looks like a network error, and trying ping 8.8.8.8 says network is unreachable – not sure if this is expected with chibioAugust 7, 2025 at 1:45 pm #1959harrison
KeymasterWhat you are suggesting sounds broadly sensible.
To make the pip iinstall work you need to do the instructions in the software setup document about sharing internet connection through USB so the beaglebone can directly access internet. Have you done this? If you CAN’T ping 8.8.8.8 or ping google.com then it is certainly not working. There is various troubleshooting available for this online (i.e. it is a generic beaglebone setup issue – not to do with ChiBio software itself).Then, yes, I would say you could either adjust the setup thing as you desire, or just manually go and install packages on the device. Unless you are going to be very often flashing the device it seems reasonable to do it by hand rather than faffing with automation…
-
AuthorPosts
- You must be logged in to reply to this topic.