newb #10
-
I am not able to get this to run? Total newb at this. This is what I've done so far.
It's not making the folder in home. So I made it and moved the code into it. I also made the icons executionable. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 6 replies
-
What happens when you try to run it? |
Beta Was this translation helpful? Give feedback.
-
Yes it does help, thank you. This will give this 70 year old something new
to learn on these hot days ahead. I really do appreciate you taking time
out to help me.
Thanks
Mark
…On Thu, Jun 17, 2021 at 5:29 PM tomshaffner ***@***.***> wrote:
Hi Mark,
Running in python means either opening a python environment and running
the script (by typing it's location/name) or typing something like python3
pithermalcam/web_server.py on the pi, which does both those things at
once. For more help with this you can search for anything related to how to
run a python 3 script in linux.
Unfortunately, doing something like having the script run at boot time is
going to require a fair bit of that kind of basic python knowledge, and as
such it outside the scope of support for this library. The paragraph above
should help get you started running the code at least, and beyond that I'd
suggest that the terms you're searching for are going to be focusing on
running a python (python 3 to be specific, in case you find any old pages)
script automatically at boot in a pi. You'll then want to target that
process on the web server script.
Hope that helps!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUQGO3GGF24AHMZ2WRFF233TTJZNBANCNFSM462RSP2A>
.
|
Beta Was this translation helpful? Give feedback.
-
I got your program running. Learned a bit along the way. I do have
something I haven't figured out. The screen image keeps switching between
different views. It does it on the pi and when I remotely connect. It is
also passed on to the web server image. This is a screen capture of the
video. Any help would be very much appreciated.
http://www.burgus.me/mark/screen.webm
Thank you
Mark
…On Thu, Jun 17, 2021 at 5:29 PM tomshaffner ***@***.***> wrote:
Hi Mark,
Running in python means either opening a python environment and running
the script (by typing it's location/name) or typing something like python3
pithermalcam/web_server.py on the pi, which does both those things at
once. For more help with this you can search for anything related to how to
run a python 3 script in linux.
Unfortunately, doing something like having the script run at boot time is
going to require a fair bit of that kind of basic python knowledge, and as
such it outside the scope of support for this library. The paragraph above
should help get you started running the code at least, and beyond that I'd
suggest that the terms you're searching for are going to be focusing on
running a python (python 3 to be specific, in case you find any old pages)
script automatically at boot in a pi. You'll then want to target that
process on the web server script.
Hope that helps!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUQGO3GGF24AHMZ2WRFF233TTJZNBANCNFSM462RSP2A>
.
|
Beta Was this translation helpful? Give feedback.
-
Hi Mark,
That's a bit strange. The first thing I'm wondering is if that's actually different views, or some underlying data/refresh issue. One easy way to test that would be to change to a different colormap and see if something similar happens. E.g. if you pick a different color scheme, does the same dynamic occur?
If so then it's not actually the view changing but something with the data itself potentially. Also of note to me, in the video at least the refresh rate seems quite low. Is this on a Pi? If so, have you changed the baudrate already? Instructions on this in the setup section at https://tomshaffner.github.io/PiThermalCam/#prerequisitesetup.
Let me know how that goes; hope it helps!
Tom
On Tuesday, July 6, 2021, 12:29:07 PM EDT, Nighttripper501 ***@***.***> wrote:
I got your program running. Learned a bit along the way. I do have
something I haven't figured out. The screen image keeps switching between
different views. It does it on the pi and when I remotely connect. It is
also passed on to the web server image. This is a screen capture of the
video. Any help would be very much appreciated.
http://www.burgus.me/mark/screen.webm
Thank you
Mark
On Thu, Jun 17, 2021 at 5:29 PM tomshaffner ***@***.***> wrote:
Hi Mark,
Running in python means either opening a python environment and running
the script (by typing it's location/name) or typing something like python3
pithermalcam/web_server.py on the pi, which does both those things at
once. For more help with this you can search for anything related to how to
run a python 3 script in linux.
Unfortunately, doing something like having the script run at boot time is
going to require a fair bit of that kind of basic python knowledge, and as
such it outside the scope of support for this library. The paragraph above
should help get you started running the code at least, and beyond that I'd
suggest that the terms you're searching for are going to be focusing on
running a python (python 3 to be specific, in case you find any old pages)
script automatically at boot in a pi. You'll then want to target that
process on the web server script.
Hope that helps!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUQGO3GGF24AHMZ2WRFF233TTJZNBANCNFSM462RSP2A>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
This is what I am doing to install your program.
"
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install libatlas-base-dev
sudo nano /boot/config.txt
// find the line with dtparam=i2c_arm=on. Uncomment it and add
// "i2c_arm_baudrate=400000"
// after it
reboot
sudo i2cdetect -y 1
pip3 install pithermalcam
//
// The scripts f2py, f2py3 and f2py3.7 are installed in
'/home/pi/.local/bin' which is not on PATH.
// Consider adding this directory to PATH or, if you prefer to suppress
this warning, use --no-warn-script-location.
sudo nano /home/pi/.local/lib/python3.7/site-packages/adafruit_mlx90640.py
// change 4 to 40 in line 154
python3 /home/pi/PiThermalCam/examples/web_server.py
On Tue, Jul 6, 2021 at 12:13 PM tomshaffner ***@***.***>
wrote:
… Hi Mark,
That's a bit strange. The first thing I'm wondering is if that's actually
different views, or some underlying data/refresh issue. One easy way to
test that would be to change to a different colormap and see if something
similar happens. E.g. if you pick a different color scheme, does the same
dynamic occur?
If so then it's not actually the view changing but something with the data
itself potentially. Also of note to me, in the video at least the refresh
rate seems quite low. Is this on a Pi? If so, have you changed the baudrate
already? Instructions on this in the setup section at
https://tomshaffner.github.io/PiThermalCam/#prerequisitesetup.
Let me know how that goes; hope it helps!
Tom
On Tuesday, July 6, 2021, 12:29:07 PM EDT, Nighttripper501 ***@***.***>
wrote:
I got your program running. Learned a bit along the way. I do have
something I haven't figured out. The screen image keeps switching between
different views. It does it on the pi and when I remotely connect. It is
also passed on to the web server image. This is a screen capture of the
video. Any help would be very much appreciated.
http://www.burgus.me/mark/screen.webm
Thank you
Mark
On Thu, Jun 17, 2021 at 5:29 PM tomshaffner ***@***.***>
wrote:
> Hi Mark,
>
> Running in python means either opening a python environment and running
> the script (by typing it's location/name) or typing something like
python3
> pithermalcam/web_server.py on the pi, which does both those things at
> once. For more help with this you can search for anything related to how
to
> run a python 3 script in linux.
>
> Unfortunately, doing something like having the script run at boot time is
> going to require a fair bit of that kind of basic python knowledge, and
as
> such it outside the scope of support for this library. The paragraph
above
> should help get you started running the code at least, and beyond that
I'd
> suggest that the terms you're searching for are going to be focusing on
> running a python (python 3 to be specific, in case you find any old
pages)
> script automatically at boot in a pi. You'll then want to target that
> process on the web server script.
>
> Hope that helps!
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <
#10 (reply in thread)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AUQGO3GGF24AHMZ2WRFF233TTJZNBANCNFSM462RSP2A
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUQGO3CYZFFWMRQAKXZPSA3TWM2VNANCNFSM462RSP2A>
.
|
Beta Was this translation helpful? Give feedback.
-
I'm sorry I hit the wrong key and sent the email early.
I changed the 4 to a 40 because the program errored out. With the change
it works. So there is something wrong I'm doing. I was using two
different pi 3's But on this run I used a pi 4 Each one gives the same
results. One thing I left out is I downloaded the file package from github
and placed the folder "PiThermalCam" in the /home/pi directory. One other
odd thing. When I run the program on the pi. If I try to save a
screenshot it is not saved. I looked around and found the save folder is
/home/pi/pithermalcam. No caps
Thank you for helping me out
Mark
On Tue, Jul 6, 2021 at 7:51 PM night tripper ***@***.***>
wrote:
… This is what I am doing to install your program.
"
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install libatlas-base-dev
sudo nano /boot/config.txt
// find the line with dtparam=i2c_arm=on. Uncomment it and add
// "i2c_arm_baudrate=400000"
// after it
reboot
sudo i2cdetect -y 1
pip3 install pithermalcam
//
// The scripts f2py, f2py3 and f2py3.7 are installed in
'/home/pi/.local/bin' which is not on PATH.
// Consider adding this directory to PATH or, if you prefer to suppress
this warning, use --no-warn-script-location.
sudo nano /home/pi/.local/lib/python3.7/site-packages/adafruit_mlx90640.py
// change 4 to 40 in line 154
python3 /home/pi/PiThermalCam/examples/web_server.py
On Tue, Jul 6, 2021 at 12:13 PM tomshaffner ***@***.***>
wrote:
> Hi Mark,
> That's a bit strange. The first thing I'm wondering is if that's actually
> different views, or some underlying data/refresh issue. One easy way to
> test that would be to change to a different colormap and see if something
> similar happens. E.g. if you pick a different color scheme, does the same
> dynamic occur?
> If so then it's not actually the view changing but something with the
> data itself potentially. Also of note to me, in the video at least the
> refresh rate seems quite low. Is this on a Pi? If so, have you changed the
> baudrate already? Instructions on this in the setup section at
> https://tomshaffner.github.io/PiThermalCam/#prerequisitesetup.
> Let me know how that goes; hope it helps!
> Tom
> On Tuesday, July 6, 2021, 12:29:07 PM EDT, Nighttripper501 ***@***.***>
> wrote:
>
>
>
> I got your program running. Learned a bit along the way. I do have
> something I haven't figured out. The screen image keeps switching between
> different views. It does it on the pi and when I remotely connect. It is
> also passed on to the web server image. This is a screen capture of the
> video. Any help would be very much appreciated.
>
> http://www.burgus.me/mark/screen.webm
>
> Thank you
> Mark
>
> On Thu, Jun 17, 2021 at 5:29 PM tomshaffner ***@***.***>
> wrote:
>
> > Hi Mark,
> >
> > Running in python means either opening a python environment and running
> > the script (by typing it's location/name) or typing something like
> python3
> > pithermalcam/web_server.py on the pi, which does both those things at
> > once. For more help with this you can search for anything related to
> how to
> > run a python 3 script in linux.
> >
> > Unfortunately, doing something like having the script run at boot time
> is
> > going to require a fair bit of that kind of basic python knowledge, and
> as
> > such it outside the scope of support for this library. The paragraph
> above
> > should help get you started running the code at least, and beyond that
> I'd
> > suggest that the terms you're searching for are going to be focusing on
> > running a python (python 3 to be specific, in case you find any old
> pages)
> > script automatically at boot in a pi. You'll then want to target that
> > process on the web server script.
> >
> > Hope that helps!
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <
> #10 (reply in thread)
> >,
> > or unsubscribe
> > <
> https://github.com/notifications/unsubscribe-auth/AUQGO3GGF24AHMZ2WRFF233TTJZNBANCNFSM462RSP2A
> >
> > .
> >
>
> —
> You are receiving this because you commented.
>
> Reply to this email directly, view it on GitHub, or unsubscribe.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#10 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AUQGO3CYZFFWMRQAKXZPSA3TWM2VNANCNFSM462RSP2A>
> .
>
|
Beta Was this translation helpful? Give feedback.
-
I finally beat my head on the wall so much that a hole appeared and the
solution was on the other side. Your program was telling me the problem Ii
just wasn't listening. After installing "pip3 install pithermalcam"
I get this error message
"The scripts f2py, f2py3 and f2py3.7 are installed in '/home/pi/.local/bin'
which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this
warning, use --no-warn-script-location."
Duh. I used the cmd
export PATH="$HOME/.local/bin:$PATH"
And your program works awesome. If only I would learn to listen more.
Thank you for the awesome program and your many many hours of programming.
Mark
On Tue, Jul 6, 2021 at 7:58 PM night tripper ***@***.***>
wrote:
… I'm sorry I hit the wrong key and sent the email early.
I changed the 4 to a 40 because the program errored out. With the change
it works. So there is something wrong I'm doing. I was using two
different pi 3's But on this run I used a pi 4 Each one gives the same
results. One thing I left out is I downloaded the file package from github
and placed the folder "PiThermalCam" in the /home/pi directory. One other
odd thing. When I run the program on the pi. If I try to save a
screenshot it is not saved. I looked around and found the save folder is
/home/pi/pithermalcam. No caps
Thank you for helping me out
Mark
On Tue, Jul 6, 2021 at 7:51 PM night tripper ***@***.***>
wrote:
> This is what I am doing to install your program.
>
> "
> sudo apt-get update && sudo apt-get upgrade
> sudo apt-get install libatlas-base-dev
> sudo nano /boot/config.txt
> // find the line with dtparam=i2c_arm=on. Uncomment it and add
> // "i2c_arm_baudrate=400000"
> // after it
> reboot
> sudo i2cdetect -y 1
> pip3 install pithermalcam
> //
> // The scripts f2py, f2py3 and f2py3.7 are installed in
> '/home/pi/.local/bin' which is not on PATH.
> // Consider adding this directory to PATH or, if you prefer to suppress
> this warning, use --no-warn-script-location.
>
> sudo nano /home/pi/.local/lib/python3.7/site-packages/adafruit_mlx90640.py
> // change 4 to 40 in line 154
> python3 /home/pi/PiThermalCam/examples/web_server.py
>
> On Tue, Jul 6, 2021 at 12:13 PM tomshaffner ***@***.***>
> wrote:
>
>> Hi Mark,
>> That's a bit strange. The first thing I'm wondering is if that's
>> actually different views, or some underlying data/refresh issue. One easy
>> way to test that would be to change to a different colormap and see if
>> something similar happens. E.g. if you pick a different color scheme, does
>> the same dynamic occur?
>> If so then it's not actually the view changing but something with the
>> data itself potentially. Also of note to me, in the video at least the
>> refresh rate seems quite low. Is this on a Pi? If so, have you changed the
>> baudrate already? Instructions on this in the setup section at
>> https://tomshaffner.github.io/PiThermalCam/#prerequisitesetup.
>> Let me know how that goes; hope it helps!
>> Tom
>> On Tuesday, July 6, 2021, 12:29:07 PM EDT, Nighttripper501 ***@***.***>
>> wrote:
>>
>>
>>
>> I got your program running. Learned a bit along the way. I do have
>> something I haven't figured out. The screen image keeps switching between
>> different views. It does it on the pi and when I remotely connect. It is
>> also passed on to the web server image. This is a screen capture of the
>> video. Any help would be very much appreciated.
>>
>> http://www.burgus.me/mark/screen.webm
>>
>> Thank you
>> Mark
>>
>> On Thu, Jun 17, 2021 at 5:29 PM tomshaffner ***@***.***>
>> wrote:
>>
>> > Hi Mark,
>> >
>> > Running in python means either opening a python environment and running
>> > the script (by typing it's location/name) or typing something like
>> python3
>> > pithermalcam/web_server.py on the pi, which does both those things at
>> > once. For more help with this you can search for anything related to
>> how to
>> > run a python 3 script in linux.
>> >
>> > Unfortunately, doing something like having the script run at boot time
>> is
>> > going to require a fair bit of that kind of basic python knowledge,
>> and as
>> > such it outside the scope of support for this library. The paragraph
>> above
>> > should help get you started running the code at least, and beyond that
>> I'd
>> > suggest that the terms you're searching for are going to be focusing on
>> > running a python (python 3 to be specific, in case you find any old
>> pages)
>> > script automatically at boot in a pi. You'll then want to target that
>> > process on the web server script.
>> >
>> > Hope that helps!
>> >
>> > —
>> > You are receiving this because you authored the thread.
>> > Reply to this email directly, view it on GitHub
>> > <
>> #10 (reply in thread)
>> >,
>> > or unsubscribe
>> > <
>> https://github.com/notifications/unsubscribe-auth/AUQGO3GGF24AHMZ2WRFF233TTJZNBANCNFSM462RSP2A
>> >
>> > .
>> >
>>
>> —
>> You are receiving this because you commented.
>>
>> Reply to this email directly, view it on GitHub, or unsubscribe.
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <#10 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AUQGO3CYZFFWMRQAKXZPSA3TWM2VNANCNFSM462RSP2A>
>> .
>>
>
|
Beta Was this translation helpful? Give feedback.
What happens when you try to run it?