Hi folks,
This past summer we had a co-op student write some code for us to take
data from a 1-wire network and produce some nice graphs using rrdtool.
I'm currently trying to install his code on a new system and having
some issues. I recall he told me at the time that the version of
ownet from the Ubuntu packages had some issues and he need to build
the latest code himself. This was for Ubuntu 13.04. Right now I'm
trying to install on Ubuntu 12.04 so I'm trying to build the code
myself.
I should also mention that I know next to nothing about python.
I download owfs-2.9p1 according to the documentation written by my
coop. It tells me to simply :
./configure --enable-usb=yes
All good so far. Make, make install and it ends up in /opt/owfs.
I'm just not clear on how to tell the python program where to find it.
I create the following :
root@ogic2:~# cat /etc/ld.so.conf.d/owfs
/opt/owfs/lib
And then run "ldconfig"
But when I try to run his program I get :
root@ogic2:~# /opt/owtg/bin/detect_sensors.py
Traceback (most recent call last):
File "/opt/owtg/bin/detect_sensors.py", line 19, in <module>
import ownet
ImportError: No module named ownet
I did noticed during the configure that it said :
owpython is DISABLED
And so I check configure options I try to use the ones to enable
python but it is still showing disabled after running configure.
What am I doing wrong here?
thanks,
-Alan
--
“Don't eat anything you've ever seen advertised on TV”
- Michael Pollan, author of "In Defense of Food"
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers