Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to install python package #2

Open
northlaker opened this issue Sep 9, 2019 · 0 comments
Open

failed to install python package #2

northlaker opened this issue Sep 9, 2019 · 0 comments

Comments

@northlaker
Copy link

northlaker commented Sep 9, 2019

I tried to install a python3 local package. the commands included in the "run-once.sh":

sudo apt install -y python3-pip
sudo pip3 install -y /boot/btp-0.1.0.tar.gz

where btp-0.1.0.tar.gz is the application package (python3) that I'd like to install and is present in the same folder as the "run-once.sh" file (copied together). I assumed the path to the package is /boot/btp-0.1.0.tar.gz as I can see the file in the /boot folder from ssh.

The "python3-pip" module is installed correctly from the above script, as I can run "pip3" once "ssh"ed into the raspberry pi. the same command (sudo pip3 install -y /boot/btp-0.1.0.tar.gz) works in an ssh session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant