-
Notifications
You must be signed in to change notification settings - Fork 32
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
Installing python packages while building custom Raspberry pi OS #280
Comments
|
Actually where this run-pip3.sh is there? Can you tell me the path. I searched it . But I could not get it. And also this command where should I mention pip3 install adafruit-circuitpython-ads1x15 adafruit-circuitpython-bme280. Should I mention this line in pieman.sh script |
No, you don't have to touch |
Ok. Thank you so much for the replies. If I want to install multiple python packages like adafruit-blinka, adafruit-io, In the pip3.sh file, should I mention the contents as follows: |
yeah, you can either use multiple lines like that or put it in one line as |
ya ok thank you |
I tried with the above command as mentioned. But adafruit-blinka and ads1115 packages are not getting installed in python. It is showing no module found error. Can you tell me the exact command for installing supervisor, ssh and also python packages like adafruit-blinka, etc., in a single command itself . Because I need supervisor, ssh also along with python packages. I tried with this command sudo env INCLUDES=ssh,supervisor,python3-pip ./pieman.sh. But it is showing no module found error for adafruit and supervisor is installed properly without any issues Can you tell me the command please? Whether do I need to use env also or not needed? |
Can anyone pls answer my above question? |
Fortunately or unfortunately I'm not able to read people's mind, so 1) explain what you did step by step, 2) attach some tracebacks or anything else what could help me or anyone else to help you.
There is no a single command because you have to install Python packages via pip3 and hooks as I mentioned above.
It depends your task. |
The steps I followed are below:
|
Yeah, the problem is
|
Thank you. Will try like as u mentioned and check |
I tried with the above commands as you mentioned. But still python packages are not getting installed |
Attach the full build log, please. I need to see it to help you. |
The building steps followed are
Python packages like adafruit io, adafruit blinka., etc., are not installed. Showing like no module found error while I am importing after building the image |
No, as I mentioned above you have to create the |
I created that post-install directory under devices/rpi-b/raspbian-buster-armhf) only. I have not mentioned that full path here. |
Can you answer my question please |
I asked you in one of my messages above to attach the full build log. To do that, redirect stderr to a file. For example,
Then, attach the |
actually I did not get what is build log file. Do u mean the image which I built for built log file? |
I gave an example of how to get the build log file. Please, re-read my message carefully. In that example the log file is called |
Please find my build log file
|
Can you answer my question? |
According to the logs here's the problem: It seems there is a bug in Pieman. |
I will check it these weekends. |
How to install python packages like Adafruit.ads1x15.ads1115,busio,time,json,logging while building raspberry pi Os using piemann
The text was updated successfully, but these errors were encountered: