I installed Weewx on a TPLink WDR4300 (with external storage), following 
the weewx on openwrt <https://github.com/weewx/weewx/wiki/weewx-on-openwrt> 
instructions; now I am working on the interceptor 
<https://github.com/matthewwall/weewx-interceptor> driver to get data from 
my acurite bridge. It won't run in listen mode because the router interface 
is using port 80, and when I try to install pypcap it gives me this:
root@WDR4300:~# pip install pypcap
Downloading/unpacking pypcap
  Downloading pypcap-1.2.0.tar.gz (123kB): 123kB downloaded
  Running setup.py (path:/tmp/pip_build_root/pypcap/setup.py) egg_info for 
package pypcap
    pcap.h not found
    Complete output from command python setup.py egg_info:
    pcap.h not found

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/
pip_build_root/pypcap
Storing debug log for failure in /root/.pip/pip.log
root@WDR4300:~# cat /root/.pip/pip.log 
------------------------------------------------------------
/usr/bin/pip run on Thu Mar 22 18:53:47 2018
Downloading/unpacking pypcap
  Getting page https://pypi.python.org/simple/pypcap/
  URLs to search for versions for pypcap:
  * https://pypi.python.org/simple/pypcap/
  Analyzing links from page https://pypi.python.org/simple/pypcap/
    Found link 
https://pypi.python.org/packages/05/db/cebe323a8fed23f191460f61582ab3e42dffc709ea13d6433b2dea87e61f/pypcap-1.1.4.tar.gz#md5=e2ded33e75d94e4635798a2b2f4aaea1
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.4
    Skipping 
https://pypi.python.org/packages/40/30/ed144a53f2439a2f774457c1ad80cf293091a0b8cca24132c09ca974eb51/pypcap-1.1.4-cp27-none-macosx_10_10_x86_64.whl#md5=ca7a6a3956f332a29666682ad3996001
 
(from https://pypi.python.org/simple/pypcap/) because it is not compatible 
with this Python
    Found link 
https://pypi.python.org/packages/44/18/2400db640fb5a52bdb3f2ad5790ec823f198b5a5fad15814fe676ee11260/pypcap-1.1.tar.gz#md5=d42e03b9cc322b1d3f39847752368f0d
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1
    Found link 
https://pypi.python.org/packages/5e/d2/dd63a41409a3a308dc8d0e64794996950ca79a1ea6df2cfedfb0a44f5e50/pypcap-1.2.0.tar.gz#md5=280d78f9ad99b57ce0e0ceda6ecaa424
 
(from https://pypi.python.org/simple/pypcap/), version: 1.2.0
    Found link 
https://pypi.python.org/packages/83/25/dab6b3fda95a5699503c91bf722abf9d9a5c960a4480208e4bad8747dd0c/pypcap-1.1.5.tar.gz#md5=4d762f3293d9d41a787ef753530e0d0c
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.5
    Found link 
https://pypi.python.org/packages/ba/60/e724203144e2afbbc921f62152ece8bff792a173fd8104ff003ff571a4ce/pypcap-1.1.6.tar.gz#md5=5196035a6176117015457cd7f367f6ab
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.6
    Found link 
https://pypi.python.org/packages/bc/0b/3f0e81c19566f0cdf21f649ac22aeb4037ce87454c1f98b20be2df3797a3/pypcap-1.1.4.1.tar.gz#md5=da200fdc468ed271b4f433bae368aec9
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.4.1
    Found link 
https://pypi.python.org/packages/c0/3d/27291dbe583eee995a4b3f07ce7615b7fd1851eceae1d69635bb5b02519b/pypcap-1.1.1.tar.gz#md5=d32f422feba022dad219edb1e7de0366
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.1
    Found link 
https://pypi.python.org/packages/f2/7a/150d4a9eff36433e0f61524286fd30f9b734ecd0bf7ea0758175df7b958b/pypcap-1.1.3.tar.gz#md5=b1c43d8959123c2d4fa8a1531e0d61ca
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.3
    Found link 
https://pypi.python.org/packages/f3/2d/5569e041903c452a6d83e0ca6058682a5539612e02b7fe01f83900b26155/pypcap-1.1.2.tar.gz#md5=c11ecfd60152ee1039cbc59f537d84ce
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.2
    Skipping 
https://pypi.python.org/packages/fb/01/74d6ad4d85c5418680900535a6319ff96cfaafb56539d0a38df4e921f179/pypcap-1.1.4.1-cp27-cp27m-macosx_10_11_x86_64.whl#md5=31e92b644b790cb49b17232267dff374
 
(from https://pypi.python.org/simple/pypcap/) because it is not compatible 
with this Python
  Using version 1.2.0 (newest of versions: 1.2.0, 1.1.6, 1.1.5, 1.1.4.1, 1.1
.4, 1.1.3, 1.1.2, 1.1.1, 1.1)
  Downloading from URL 
https://pypi.python.org/packages/5e/d2/dd63a41409a3a308dc8d0e64794996950ca79a1ea6df2cfedfb0a44f5e50/pypcap-1.2.0.tar.gz#md5=280d78f9ad99b57ce0e0ceda6ecaa424
 
(from https://pypi.python.org/simple/pypcap/)
  Running setup.py (path:/tmp/pip_build_root/pypcap/setup.py) egg_info for 
package pypcap
    pcap.h not found
    Complete output from command python setup.py egg_info:
    pcap.h not found

----------------------------------------
Cleaning up...
  Removing temporary dir /tmp/pip_build_root...
Command python setup.py egg_info failed with error code 1 in /tmp/
pip_build_root/pypcap
Exception information:
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py", 
line 122, in main
    status = self.run(options, args)
  File 
"/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py"
, line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, 
bundle=self.bundle)
  File "/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", 
line 1229, in prepare_files
    req_to_install.run_egg_info()
  File "/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py", 
line 325, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/util.py", 
line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 
in /tmp/pip_build_root/pypcap

Maybe I've just been at it too long, but I'm at the end of my rope. I must 
have been through about 10 different tutorials by now, trying to get all 
the parts to install and work together.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to